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

Unified Diff: background.js

Issue 5426447338438656: Fix icon animation (Closed)
Patch Set: Created Feb. 27, 2014, 2:38 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 | iconAnimation.js » ('j') | iconAnimation.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -103,9 +103,6 @@
// Adds or removes browser action icon according to options.
function refreshIconAndContextMenu(tab)
{
- if(!/^https?:/.test(tab.url))
- return;
Sebastian Noack 2014/02/27 14:41:47 This relic from the time were we used page instead
-
var iconFilename;
if (require("info").platform == "safari")
// There is no grayscale version of the icon for whitelisted tabs
« no previous file with comments | « no previous file | iconAnimation.js » ('j') | iconAnimation.js » ('J')

Powered by Google App Engine
This is Rietveld