1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-02 10:24:59 +12:00

code review

This commit is contained in:
gorhill 2015-05-17 15:00:37 -04:00
parent 36cb60fe30
commit 855833c978
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ if ( !window.location ) {
}
// This can happen
if ( !vAPI ) {
if ( typeof vAPI !== 'object' ) {
//console.debug('contentscript-end.js > vAPI not found');
return;
}

View file

@ -44,7 +44,7 @@ if ( !window.location ) {
}
// This can happen
if ( !vAPI ) {
if ( typeof vAPI !== 'object' ) {
//console.debug('contentscript-start.js > vAPI not found');
return;
}