Add files via upload
This commit is contained in:
parent
1094ddb6bb
commit
a6a34307d8
|
@ -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 + "'.");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user