Showing
1 changed file
with
0 additions
and
1 deletions
@@ -36,7 +36,6 @@ function callback(mutationList, observer) { | @@ -36,7 +36,6 @@ function callback(mutationList, observer) { | ||
36 | case "childList": | 36 | case "childList": |
37 | /* 从树上添加或移除一个或更多的子节点;参见 mutation.addedNodes 与 | 37 | /* 从树上添加或移除一个或更多的子节点;参见 mutation.addedNodes 与 |
38 | mutation.removedNodes */ | 38 | mutation.removedNodes */ |
39 | - console.log("mutation", mutation); | ||
40 | const nodes = mutation.addedNodes; | 39 | const nodes = mutation.addedNodes; |
41 | nodes.forEach((node) => { | 40 | nodes.forEach((node) => { |
42 | if ( | 41 | if ( |