mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
Make title optional.
This commit is contained in:
parent
987e3aabbd
commit
00d0421623
@ -154,7 +154,7 @@
|
||||
|
||||
const observeTitle = () => {
|
||||
const callback = ([entry]) => {
|
||||
title = entry.target.text;
|
||||
title = entry && entry.target ? entry.target.text : undefined;
|
||||
};
|
||||
|
||||
const observer = new MutationObserver(callback);
|
||||
|
Loading…
Reference in New Issue
Block a user