diff options
| author | Stephen Blott | 2014-11-23 14:45:13 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2014-11-23 14:45:13 +0000 | 
| commit | 9770fc7989a9026ac4f364ffbf89514dfc24a1bd (patch) | |
| tree | c87412270b3fce48a616b0a7e3e44ea73453efd2 | |
| parent | 5ef578f5564b48314006ab1b05d9c45dff90f48d (diff) | |
| download | vimium-9770fc7989a9026ac4f364ffbf89514dfc24a1bd.tar.bz2 | |
Frames; do not guess frame on unregisterFrame.
| -rw-r--r-- | background_scripts/main.coffee | 3 | 
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 | 
