aboutsummaryrefslogtreecommitdiff
path: root/js/background.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/background.js')
-rw-r--r--js/background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/background.js b/js/background.js
index f65b10b..a87293a 100644
--- a/js/background.js
+++ b/js/background.js
@@ -14,9 +14,9 @@ var isFirefox = false;
if (typeof chrome == 'undefined') {
isFirefox = true;
var firefoxShim = require('./firefox/background-shim');
- firefoxShim.setLogger(log);
chrome = firefoxShim.chrome;
Redirect = firefoxShim.Redirect;
+ log = firefoxShim.log;
exports.onUnload = function (reason) {
redirectEvent.removeListener(checkRedirects);
chrome.storage.onChanged.removeListener(monitorChanges);