From 757adc47227f2dadca26fd985cb56391f766564c Mon Sep 17 00:00:00 2001 From: s2 Date: Wed, 13 Dec 2017 11:19:20 +0100 Subject: [PATCH] need to test more --- src/bg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bg.js b/src/bg.js index 616700f..3caa3e4 100644 --- a/src/bg.js +++ b/src/bg.js @@ -115,7 +115,7 @@ var updateAllColorsOnAllTabs = async () => { if (tabHost) { tabHost = tabHost.toLowerCase(); } - if (!(options.ignore && options.ignore.split('\n').includes(tabHost))) { + if (!(options.globals.ignore && options.globals.ignore.split('\n').includes(tabHost))) { browser.tabs.executeScript(tabs[i].id, { code: '(' + changeIcon.toString() + ')' + '("' + generateRandomColor(t.parentIndex) + '", "' + t.faviconUrl + '", ' + JSON.stringify(options) + ')'