From 1094ddb6bb5124d9ca26b4406362144497e72c48 Mon Sep 17 00:00:00 2001 From: Jeremy Schomery Date: Fri, 3 Feb 2017 17:01:41 +0330 Subject: [PATCH] dark background color for badge number, #14 --- messaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messaging.js b/messaging.js index 9f6fdc67..a11058e5 100644 --- a/messaging.js +++ b/messaging.js @@ -60,7 +60,7 @@ function updateIcon(tab, styles) { if (!chrome.runtime.lastError) { var t = prefs.get("show-badge") && styles.length ? ("" + styles.length) : ""; chrome.browserAction.setBadgeText({text: t, tabId: tab.id}); - chrome.browserAction.setBadgeBackgroundColor({color: disableAll ? "#aaa" : [0, 0, 0, 0]}); + chrome.browserAction.setBadgeBackgroundColor({color: disableAll ? "#aaa" : '#6e6e6e'}); } }); //console.log("Tab " + tab.id + " (" + tab.url + ") badge text set to '" + t + "'.");