From 15233e2c246f92193f6c940a317f69c491f3c91d Mon Sep 17 00:00:00 2001 From: koops76 Date: Sat, 2 Sep 2017 16:45:46 +0300 Subject: [PATCH] Let's simply use the default badge color. --- chromium/background.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/chromium/background.js b/chromium/background.js index d59f9e1d5318..df7e990dc0aa 100644 --- a/chromium/background.js +++ b/chromium/background.js @@ -193,8 +193,6 @@ function updateState () { const activeCount = getActiveRulesetCount(tabs[0].id); - chrome.browserAction.setBadgeBackgroundColor({ color: '#00cc00' }); - const showBadge = activeCount > 0 && isExtensionEnabled && showCounter; chrome.browserAction.setBadgeText({ text: showBadge ? String(activeCount) : '' });