aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-02-28 07:58:01 +0000
committerStephen Blott2015-02-28 07:58:01 +0000
commit549b7e6bfe80f420f0429a5c7913d47ec2be9b74 (patch)
tree41fb0131a7d453c001a852007ed88389a29d729e
parentc8d984520f5de4b3e702cee992c7ecc4f4f49435 (diff)
downloadvimium-549b7e6bfe80f420f0429a5c7913d47ec2be9b74.tar.bz2
Make badges tab specific (fixed).
Following on from c8d984520f5de4b3e702cee992c7ecc4f4f49435, I forgot to fix up the other call to setBadge.
-rw-r--r--background_scripts/main.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 8b13621e..4b3d1510 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -367,7 +367,7 @@ root.updateActiveState = updateActiveState = (tabId) ->
disabledIcon = "icons/browser_action_disabled.png"
partialIcon = "icons/browser_action_partial.png"
chrome.tabs.get tabId, (tab) ->
- setBadge badge: ""
+ setBadge { badge: "" }, tab: { id: tabId }
chrome.tabs.sendMessage tabId, { name: "getActiveState" }, (response) ->
if response
isCurrentlyEnabled = response.enabled