Browse Source

code review for #456

pull/2/head
gorhill 10 years ago
parent
commit
06398e8065
  1. 10
      platform/chromium/vapi-client.js

10
platform/chromium/vapi-client.js

@ -33,15 +33,15 @@
self.vAPI = self.vAPI || {};
var chrome = self.chrome;
var vAPI = self.vAPI;
// https://github.com/gorhill/uBlock/issues/456
// Already injected?
if ( vAPI.vapiClient ) {
if ( vAPI.vapiClientInjected ) {
return;
}
vAPI.vapiClient = true;
var chrome = self.chrome;
var vAPI = self.vAPI;
vAPI.vapiClientInjected = true;
vAPI.chrome = true;

Loading…
Cancel
Save