Skip to content

Commit

Permalink
refactor: Update MutationObserver target in index.user.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Lichthagel committed Oct 14, 2024
1 parent 5c8c397 commit 5183c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const observer = new MutationObserver(() => {
}
});

observer.observe(document.querySelector("head > title")!, {
observer.observe(document.head, {
childList: true,
subtree: true,
});

0 comments on commit 5183c7c

Please sign in to comment.