mirror of https://github.com/gorhill/uBlock.git
fix silly regression regarding the DOM surveyor
This commit is contained in:
parent
938d5b83f6
commit
2bea51cc63
|
@ -1155,14 +1155,12 @@ vAPI.domSurveyor = (function() {
|
|||
onDOMCreated: function() {
|
||||
if (
|
||||
vAPI instanceof Object === false ||
|
||||
vAPI.domSurveyor instanceof Object === false ||
|
||||
vAPI.domFilterer instanceof Object === false
|
||||
) {
|
||||
if ( vAPI instanceof Object ) {
|
||||
if ( vAPI.domWatcher instanceof Object ) {
|
||||
vAPI.domWatcher.removeListener(domWatcherInterface);
|
||||
}
|
||||
vAPI.domSurveyor = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue