this also needed to fix #208

This commit is contained in:
gorhill 2014-09-04 11:57:15 -04:00
parent 4235f9a274
commit bd264fda05
1 changed files with 4 additions and 1 deletions

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);