aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-04-23 11:07:36 +0100
committerStephen Blott2015-04-23 11:07:36 +0100
commitbfa6c88b41acac4c98d06f324f25f8bb7b328614 (patch)
treec624300290dfa3d9506e40e17a2b8fddf5f2c407 /background_scripts/main.coffee
parent9eaa7330b1e4952e171cf53db855cf447c8e1e49 (diff)
downloadvimium-bfa6c88b41acac4c98d06f324f25f8bb7b328614.tar.bz2
Activate vomnibar in window.top; no flicker and tidy up.
1. Rework event handling to eliminate frame flicker (a la #1485). 2. Tidy up logic. Which should make this more robust.
Diffstat (limited to 'background_scripts/main.coffee')
-rw-r--r--background_scripts/main.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index a64c7e37..0c7d9343 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -658,7 +658,7 @@ handleFrameFocused = (request, sender) ->
frameIdsForTab[tabId] =
[request.frameId, (frameIdsForTab[tabId].filter (id) -> id != request.frameId)...]
# Inform all frames that a frame has received the focus.
- chrome.tabs.sendMessage sender.tab.id,
+ chrome.tabs.sendMessage sender.tab.id,
name: "frameFocused"
focusFrameId: request.frameId