We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b6d7d9 commit c1e4d7aCopy full SHA for c1e4d7a
src/index.js
@@ -52,12 +52,14 @@ window.addEventListener("load", function() {
52
53
54
// // console.log('ccCSS observer start', performance.now())
55
+
56
+ hasChange = addParsingClassList(mutation.target.classList);
57
if (mutation.type == "childList")
58
mutation.target.querySelectorAll("*").forEach((el) => {
59
hasChange = addParsingClassList(el.classList) || hasChange;
60
});
- else
- hasChange = addParsingClassList(mutation.target.classList);
61
62
63
// styleList.forEach(i => styleElSheet.insertRule(i))
64
addNewRules()
65
0 commit comments