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

Unified Diff: background.js

Issue 29334223: Issue 3532 - Generate animation images at runtime (Closed)
Patch Set: Avoid warnings when closing tabs during animation Created Jan. 21, 2016, 10:28 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 | lib/icon.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
diff --git a/background.js b/background.js
index a3792acd5f0fd7ba07920482b662acafeff011ad..5e6b68f660fe89c6cd72d1bb537574784ded9a1f 100644
--- a/background.js
+++ b/background.js
@@ -127,7 +127,7 @@ var contextMenuItem = {
function refreshIconAndContextMenu(page)
{
var whitelisted = isPageWhitelisted(page);
- updateIcon(page, whitelisted);
+ updateIcon(page, whitelisted && true || false);
// show or hide the context menu entry dependent on whether
// adblocking is active on that page
« no previous file with comments | « no previous file | lib/icon.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld