From 549b7e6bfe80f420f0429a5c7913d47ec2be9b74 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sat, 28 Feb 2015 07:58:01 +0000 Subject: Make badges tab specific (fixed). Following on from c8d984520f5de4b3e702cee992c7ecc4f4f49435, I forgot to fix up the other call to setBadge. --- background_scripts/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts') 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 -- cgit v1.2.3