fix silly regression regarding the DOM surveyor

This commit is contained in:
gorhill 2017-10-24 07:55:35 -04:00
parent 938d5b83f6
commit 2bea51cc63
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}