mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-02 10:24:59 +12:00
code review
This commit is contained in:
parent
36cb60fe30
commit
855833c978
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue