Skip to content

Commit

Permalink
Add characterData to observer options (fixes #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
noodlebox committed Nov 16, 2016
1 parent a01fbb6 commit ce1d9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KawaiiDiscord.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@
".theme-light+span",
].join(",");
for (let target of document.querySelectorAll(selector)) {
observer.observe(target, { childList:true, subtree:true });
observer.observe(target, { childList:true, subtree:true, characterData:true });
}
}

Expand Down

0 comments on commit ce1d9a7

Please sign in to comment.