mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-11 09:31:01 +01:00
fix silly regression regarding the DOM surveyor
This commit is contained in:
parent
938d5b83f6
commit
2bea51cc63
1 changed files with 0 additions and 2 deletions
|
@ -1155,14 +1155,12 @@ vAPI.domSurveyor = (function() {
|
||||||
onDOMCreated: function() {
|
onDOMCreated: function() {
|
||||||
if (
|
if (
|
||||||
vAPI instanceof Object === false ||
|
vAPI instanceof Object === false ||
|
||||||
vAPI.domSurveyor instanceof Object === false ||
|
|
||||||
vAPI.domFilterer instanceof Object === false
|
vAPI.domFilterer instanceof Object === false
|
||||||
) {
|
) {
|
||||||
if ( vAPI instanceof Object ) {
|
if ( vAPI instanceof Object ) {
|
||||||
if ( vAPI.domWatcher instanceof Object ) {
|
if ( vAPI.domWatcher instanceof Object ) {
|
||||||
vAPI.domWatcher.removeListener(domWatcherInterface);
|
vAPI.domWatcher.removeListener(domWatcherInterface);
|
||||||
}
|
}
|
||||||
vAPI.domSurveyor = null;
|
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue