From bfa6c88b41acac4c98d06f324f25f8bb7b328614 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Thu, 23 Apr 2015 11:07:36 +0100 Subject: 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. --- background_scripts/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts/main.coffee') 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 -- cgit v1.2.3