aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2016-03-05 08:18:13 +0000
committerStephen Blott2016-03-06 11:27:45 +0000
commit2035844b1c625ca65c1b9d0fb8c9a6c6df6a0dcd (patch)
tree835cedb1c87479968295a2598872976ca0a143da /content_scripts
parent7818ab8d6db8e28d6699e64b17bf3a0d63adbdf7 (diff)
downloadvimium-2035844b1c625ca65c1b9d0fb8c9a6c6df6a0dcd.tar.bz2
Do no init Vomnibar pre-DomReady (tweak).
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vimium_frontend.coffee2
1 files changed, 1 insertions, 1 deletions
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?