diff options
author | gorhill <rhill@raymondhill.net> | 2014-09-04 11:57:15 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2014-09-04 11:57:15 -0400 |
commit | bd264fda050931db079d089194a0d26c22c345f9 (patch) | |
tree | 38d326ac7e35504e3b6a6227c31eebc5cdc0ad0b /js | |
parent | 4235f9a274dc39a59fc165b28c6b5e641255b75b (diff) | |
download | uBlock-bd264fda050931db079d089194a0d26c22c345f9.zip uBlock-bd264fda050931db079d089194a0d26c22c345f9.tar.gz uBlock-bd264fda050931db079d089194a0d26c22c345f9.tar.bz2 |
this also needed to fix #208
Diffstat (limited to 'js')
-rw-r--r-- | js/async.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/js/async.js b/js/async.js index a8a9c57..70dd882 100644 --- a/js/async.js +++ b/js/async.js @@ -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); |