diff --git a/src/background.js b/src/background.js index c5bdf3a2ab..352d0fc94a 100644 --- a/src/background.js +++ b/src/background.js @@ -1,4 +1,4 @@ -var isBackground = true, +var bg_isBackground = true, bg_utilsService, bg_i18nService, bg_constantsService, diff --git a/src/scripts/analytics.js b/src/scripts/analytics.js index dd10aebfec..c3bbc6fcb1 100644 --- a/src/scripts/analytics.js +++ b/src/scripts/analytics.js @@ -54,7 +54,7 @@ chrome.extension.getBackgroundPage().bg_appIdService.getAnonymousAppId(function request.send(message); }; - if (typeof isBackground !== 'undefined') { + if (typeof bg_isBackground !== 'undefined') { ga('send', 'pageview', '/background.html'); } });