diff options
| author | Stephen Blott | 2015-02-17 06:08:28 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-02-17 06:08:28 +0000 |
| commit | 30485767273aabdd1190ba84b3002f8f15526695 (patch) | |
| tree | 873b91860814bacba950eee73a6c5913c4498fb7 | |
| parent | 7a746ba51a5124a39acb09270bf4ab470bfd6b5f (diff) | |
| download | vimium-30485767273aabdd1190ba84b3002f8f15526695.tar.bz2 | |
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.
| -rw-r--r-- | background_scripts/main.coffee | 1 |
1 files changed, 0 insertions, 1 deletions
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 |
