优化代码
This commit is contained in:
parent
868f69f540
commit
8a3cb15a7c
|
@ -463,10 +463,7 @@
|
|||
let list = document.querySelector('ul#pblist');
|
||||
let MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
|
||||
let observer = new MutationObserver((mutations) => {
|
||||
if (mutations.length > 0) {
|
||||
console.log(mutations)
|
||||
t();
|
||||
}
|
||||
});
|
||||
|
||||
observer.observe(list, {
|
||||
|
|
Loading…
Reference in New Issue
Block a user