mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Minor code review
This commit is contained in:
parent
db7cadae49
commit
e33d948fdc
1 changed files with 1 additions and 1 deletions
|
@ -169,8 +169,8 @@ function runAtHtmlElement(fn) {
|
|||
return;
|
||||
}
|
||||
const observer = new MutationObserver(( ) => {
|
||||
fn();
|
||||
observer.disconnect();
|
||||
fn();
|
||||
});
|
||||
observer.observe(document, { childList: true });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue