mirror of https://github.com/gorhill/uBlock.git
Minor code review
This commit is contained in:
parent
db7cadae49
commit
e33d948fdc
|
@ -169,8 +169,8 @@ function runAtHtmlElement(fn) {
|
|||
return;
|
||||
}
|
||||
const observer = new MutationObserver(( ) => {
|
||||
fn();
|
||||
observer.disconnect();
|
||||
fn();
|
||||
});
|
||||
observer.observe(document, { childList: true });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue