aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2015-03-17 13:21:02 +0000
committerStephen Blott2015-03-17 13:21:02 +0000
commit71d33fdeaa5c081de5041a6a0909d452e1564633 (patch)
tree66112da870552cfd138307f5d8ef620ede58a372 /background_scripts
parent4399e2e4fffc4faba9f1505dfc0ad3150a948632 (diff)
downloadvimium-71d33fdeaa5c081de5041a6a0909d452e1564633.tar.bz2
Activate vomnibar in window.top; fix race condition on close.
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index a64c7e37..05fad941 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -657,6 +657,7 @@ handleFrameFocused = (request, sender) ->
if frameIdsForTab[tabId]?
frameIdsForTab[tabId] =
[request.frameId, (frameIdsForTab[tabId].filter (id) -> id != request.frameId)...]
+ console.log frameIdsForTab[tabId]
# Inform all frames that a frame has received the focus.
chrome.tabs.sendMessage sender.tab.id,
name: "frameFocused"