Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/icon.js

Issue 30025579: Issue 7340 - Fix JS error with notification animation (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Created March 7, 2019, 3:55 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/icon.js
===================================================================
--- a/lib/icon.js
+++ b/lib/icon.js
@@ -100,17 +100,17 @@
{
page.browserAction.setIconPath(
"/icons/abp-$size" + (whitelisted ? "-whitelisted" : "") + ".png"
);
}
}
else
{
- browser.browserAction.setIconPath({
+ browser.browserAction.setIcon({
tabId: page.id,
imageData: frames["" + opacity + whitelisted]
});
}
}
filterNotifier.on("page.WhitelistingStateRevalidate", (page, filter) =>
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld