1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02: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);