Add files via upload

This commit is contained in:
narcolepticinsomniac 2017-02-03 09:02:37 -05:00 committed by GitHub
parent 1094ddb6bb
commit a6a34307d8

View File

@ -60,7 +60,7 @@ function updateIcon(tab, styles) {
if (!chrome.runtime.lastError) { if (!chrome.runtime.lastError) {
var t = prefs.get("show-badge") && styles.length ? ("" + styles.length) : ""; var t = prefs.get("show-badge") && styles.length ? ("" + styles.length) : "";
chrome.browserAction.setBadgeText({text: t, tabId: tab.id}); chrome.browserAction.setBadgeText({text: t, tabId: tab.id});
chrome.browserAction.setBadgeBackgroundColor({color: disableAll ? "#aaa" : '#6e6e6e'}); chrome.browserAction.setBadgeBackgroundColor({color: disableAll ? "#aaa" : '#006666'});
} }
}); });
//console.log("Tab " + tab.id + " (" + tab.url + ") badge text set to '" + t + "'."); //console.log("Tab " + tab.id + " (" + tab.url + ") badge text set to '" + t + "'.");