From 5ef578f5564b48314006ab1b05d9c45dff90f48d Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 23 Nov 2014 14:25:48 +0000 Subject: Frames; more tidy up; fix typo. --- 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 98dc3620..ddf5ed2c 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -610,7 +610,7 @@ unregisterFrame = (request, sender) -> else removingCurrent = frameIdsForTab[tabId].length and frameIdsForTab[tabId][0] == request.frameId frameIdsForTab[tabId] = frameIdsForTab[tabId].filter (id) -> id != request.frameId - BackGroundCommands.nextFrame 0 if removingCurrent + BackgroundCommands.nextFrame 0 if removingCurrent handleFrameFocused = (request, sender) -> tabId = sender.tab.id -- cgit v1.2.3