From 30485767273aabdd1190ba84b3002f8f15526695 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 17 Feb 2015 06:08:28 +0000 Subject: Fix (?) issue with browser icon. And, following on from 7a746ba51a5124a39acb09270bf4ab470bfd6b5f: - 7a746ba51a5124a39acb09270bf4ab470bfd6b5f seems to work. However, there's a slight unnecessary flicker when changing tab. So, this tries *not* setting an initial icon, and waiting instead to hear back from the tab. --- background_scripts/main.coffee | 1 - 1 file changed, 1 deletion(-) (limited to 'background_scripts') diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 39aeed36..1301cb77 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -366,7 +366,6 @@ root.updateActiveState = updateActiveState = (tabId) -> disabledIcon = "icons/browser_action_disabled.png" partialIcon = "icons/browser_action_partial.png" chrome.tabs.get tabId, (tab) -> - setBrowserActionIcon tabId, enabledIcon setBadge badge: "" chrome.tabs.sendMessage tabId, { name: "getActiveState" }, (response) -> if response -- cgit v1.2.3