Browse Source

code review

pull/2/head
gorhill 10 years ago
parent
commit
855833c978
  1. 2
      src/js/contentscript-end.js
  2. 2
      src/js/contentscript-start.js

2
src/js/contentscript-end.js

@ -45,7 +45,7 @@ if ( !window.location ) {
} }
// 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;
} }

2
src/js/contentscript-start.js

@ -44,7 +44,7 @@ if ( !window.location ) {
} }
// 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…
Cancel
Save