mirror of https://github.com/gorhill/uBlock.git
this also needed to fix #208
This commit is contained in:
parent
4235f9a274
commit
bd264fda05
|
@ -142,7 +142,10 @@ return asyncJobManager;
|
||||||
if ( pageStore ) {
|
if ( pageStore ) {
|
||||||
pageStore.updateBadge();
|
pageStore.updateBadge();
|
||||||
} else {
|
} 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);
|
this.asyncJobs.add('updateBadge-' + tabId, tabId, updateBadgeCallback, 250);
|
||||||
|
|
Loading…
Reference in New Issue