aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2016-03-05 08:17:05 +0000
committerStephen Blott2016-03-06 11:27:45 +0000
commit7818ab8d6db8e28d6699e64b17bf3a0d63adbdf7 (patch)
tree38699f13ceeff9609ca4d88d69ad9507304d23cb
parentbde730eb473982203f9db9813aebd5657beeebf9 (diff)
downloadvimium-7818ab8d6db8e28d6699e64b17bf3a0d63adbdf7.tar.bz2
Do no init Vomnibar pre-DomReady.
-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 92cfea58..3beab455 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()
- Vomnibar.init()
+ DomUtils.documentReady -> Vomnibar.init()
else
# Ignore requests from other frames (we're not the top frame).
unless request?