mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Make title optional.
This commit is contained in:
parent
987e3aabbd
commit
00d0421623
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@
|
||||||
|
|
||||||
const observeTitle = () => {
|
const observeTitle = () => {
|
||||||
const callback = ([entry]) => {
|
const callback = ([entry]) => {
|
||||||
title = entry.target.text;
|
title = entry && entry.target ? entry.target.text : undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
const observer = new MutationObserver(callback);
|
const observer = new MutationObserver(callback);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue