1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00

this also needed to fix #208

This commit is contained in:
gorhill 2014-09-04 11:57:15 -04:00
parent 4235f9a274
commit bd264fda05

View File

@ -142,7 +142,10 @@ return asyncJobManager;
if ( pageStore ) {
pageStore.updateBadge();
} else {
chrome.browserAction.setIcon({ tabId: tabId, path: 'img/browsericons/icon19-off.png' });
chrome.browserAction.setIcon({
tabId: tabId,
path: { '19': 'img/browsericons/icon19-off.png', '38': 'img/browsericons/icon38-off.png' }
});
}
};
this.asyncJobs.add('updateBadge-' + tabId, tabId, updateBadgeCallback, 250);