mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-18 17:02:27 +02:00
this fixes bad test
This commit is contained in:
parent
0d32b56f5a
commit
78b64dc2c6
@ -43,7 +43,7 @@ if ( window.location === null ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This can happen
|
// This can happen
|
||||||
if ( !vAPI ) {
|
if ( typeof vAPI !== 'object' ) {
|
||||||
//console.debug('contentscript-end.js > vAPI not found');
|
//console.debug('contentscript-end.js > vAPI not found');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ if ( document instanceof HTMLDocument === false ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This can happen
|
// This can happen
|
||||||
if ( !vAPI ) {
|
if ( typeof vAPI !== 'object' ) {
|
||||||
//console.debug('contentscript-start.js > vAPI not found');
|
//console.debug('contentscript-start.js > vAPI not found');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user