From d8c5f8209ae07a41dd2cf57e52b5ec7e3d50dd05 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 23 Nov 2014 14:59:52 +0000 Subject: Frames; remove unnecessary comments. --- background_scripts/main.coffee | 3 --- 1 file changed, 3 deletions(-) (limited to 'background_scripts') 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 -- cgit v1.2.3