diff --git a/platform/chromium/vapi-client.js b/platform/chromium/vapi-client.js index 057687f..e4099a2 100644 --- a/platform/chromium/vapi-client.js +++ b/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;