aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
authorStephen Blott2014-11-23 14:45:13 +0000
committerStephen Blott2014-11-23 14:45:13 +0000
commit9770fc7989a9026ac4f364ffbf89514dfc24a1bd (patch)
treec87412270b3fce48a616b0a7e3e44ea73453efd2 /background_scripts/main.coffee
parent5ef578f5564b48314006ab1b05d9c45dff90f48d (diff)
downloadvimium-9770fc7989a9026ac4f364ffbf89514dfc24a1bd.tar.bz2
Frames; do not guess frame on unregisterFrame.
Diffstat (limited to 'background_scripts/main.coffee')
-rw-r--r--background_scripts/main.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index ddf5ed2c..9d6d1216 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -610,7 +610,8 @@ 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
+ # NOTE(smblott) It's not clear whether the following is either needed or a good idea.
+ # BackgroundCommands.nextFrame 0 if removingCurrent
handleFrameFocused = (request, sender) ->
tabId = sender.tab.id