mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
this fixes #208
This commit is contained in:
parent
e8eb452f73
commit
4235f9a274
1 changed files with 3 additions and 1 deletions
|
|
@ -216,7 +216,9 @@ PageStore.prototype.updateBadgeFromTab = function(tab) {
|
|||
return;
|
||||
}
|
||||
var netFiltering = this.getNetFilteringSwitch();
|
||||
var iconPath = netFiltering ? 'img/browsericons/icon19.png' : 'img/browsericons/icon19-off.png';
|
||||
var iconPath = netFiltering ?
|
||||
{ '19': 'img/browsericons/icon19.png', '38': 'img/browsericons/icon38.png' } :
|
||||
{ '19': 'img/browsericons/icon19-off.png', '38': 'img/browsericons/icon38-off.png' };
|
||||
|
||||
chrome.browserAction.setIcon({ tabId: tab.id, path: iconPath });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue