diff options
| author | Stephen Blott | 2014-11-23 14:59:52 +0000 |
|---|---|---|
| committer | Stephen Blott | 2014-11-23 14:59:52 +0000 |
| commit | d8c5f8209ae07a41dd2cf57e52b5ec7e3d50dd05 (patch) | |
| tree | 614c977e9bed5c9d3c71d2794edd124a16f05f17 | |
| parent | 9770fc7989a9026ac4f364ffbf89514dfc24a1bd (diff) | |
| download | vimium-d8c5f8209ae07a41dd2cf57e52b5ec7e3d50dd05.tar.bz2 | |
Frames; remove unnecessary comments.
| -rw-r--r-- | background_scripts/main.coffee | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 9d6d1216..e8a57fd5 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -608,10 +608,7 @@ unregisterFrame = (request, sender) -> if request.is_top # The whole tab is closing, so we can drop the frames list. updateOpenTabs sender.tab else - removingCurrent = frameIdsForTab[tabId].length and frameIdsForTab[tabId][0] == request.frameId frameIdsForTab[tabId] = frameIdsForTab[tabId].filter (id) -> id != request.frameId - # 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 |
