this fixes bad test

This commit is contained in:
gorhill 2015-05-16 13:40:56 -04:00
parent 0d32b56f5a
commit 78b64dc2c6
2 changed files with 2 additions and 2 deletions

View File

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

View File

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