mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-18 17:02:27 +02:00
this fixes #208
This commit is contained in:
parent
e8eb452f73
commit
4235f9a274
@ -216,7 +216,9 @@ PageStore.prototype.updateBadgeFromTab = function(tab) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var netFiltering = this.getNetFilteringSwitch();
|
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 });
|
chrome.browserAction.setIcon({ tabId: tab.id, path: iconPath });
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user