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