Bug 1702579: fix eslint browser/extensions/screenshots/test/browser/injection-page.html r=emalysz

Differential Revision: https://phabricator.services.mozilla.com/D110760
This commit is contained in:
Falguni Islam 2021-04-07 21:32:15 +00:00
parent 0c9e760fb7
commit 3af1e5805b
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ browser/components/enterprisepolicies/schemas/schema.jsm
browser/components/translation/cld2/
# Screenshots is imported as a system add-on and has
# their own lint rules currently.
browser/extensions/screenshots/
# browser/extensions/screenshots/
# generated or library files in pocket
browser/components/pocket/content/panels/js/tmpl.js

View file

@ -17,7 +17,7 @@ let callback = function(mutationsList, observer) {
}
}
};
var observer = observer();
observer = new MutationObserver(callback);
observer.observe(document.body, {childList: true});
</script>