Index: lib/icon.js |
=================================================================== |
--- a/lib/icon.js |
+++ b/lib/icon.js |
@@ -52,22 +52,22 @@ |
{ |
opacity = opacity || 0; |
let whitelisted = !!whitelistedState.get(page); |
if (!notificationType || !frames) |
{ |
if (opacity > 0.5) |
{ |
- page.browserAction.setIcon("icons/abp-$size-notification-" + |
+ page.browserAction.setIcon("/icons/abp-$size-notification-" + |
notificationType + ".png"); |
} |
else |
{ |
- page.browserAction.setIcon("icons/abp-$size" + |
+ page.browserAction.setIcon("/icons/abp-$size" + |
(whitelisted ? "-whitelisted" : "") + ".png"); |
} |
} |
else |
{ |
chrome.browserAction.setIcon({ |
tabId: page.id, |
imageData: frames["" + opacity + whitelisted] |