mirror of
https://github.com/kremalicious/umami.git
synced 2025-01-05 19:35:43 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
e2b95f2235
@ -131,7 +131,7 @@
|
||||
|
||||
const observeTitle = () => {
|
||||
const callback = ([entry]) => {
|
||||
title = entry.target.data;
|
||||
title = entry.target.text;
|
||||
};
|
||||
|
||||
const observer = new MutationObserver(callback);
|
||||
@ -139,6 +139,7 @@
|
||||
observer.observe(document.querySelector('head > title'), {
|
||||
subtree: true,
|
||||
characterData: true,
|
||||
childList: true,
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user