From 2035844b1c625ca65c1b9d0fb8c9a6c6df6a0dcd Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sat, 5 Mar 2016 08:18:13 +0000 Subject: Do no init Vomnibar pre-DomReady (tweak). --- content_scripts/vimium_frontend.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts') diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 3beab455..99d8fc4a 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -438,7 +438,7 @@ initializeTopFrame = (request = null) -> initializeTopFrame = -> # Only do this initialization once. # We only initialize the vomnibar in the tab's top/main frame, because it's only ever opened there. if DomUtils.isTopFrame() - DomUtils.documentReady -> Vomnibar.init() + DomUtils.documentReady Vomnibar.init.bind Vomnibar else # Ignore requests from other frames (we're not the top frame). unless request? -- cgit v1.2.3