diff options
| author | Stephen Blott | 2016-04-02 14:20:55 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2016-04-02 14:20:57 +0100 | 
| commit | 4f74307ed382ce942a1210007b99ed426f997a81 (patch) | |
| tree | 43769580136e93334877e337dcaec6ec71456405 | |
| parent | deca2ecb726174303dd024209585e522b79e33b8 (diff) | |
| download | vimium-4f74307ed382ce942a1210007b99ed426f997a81.tar.bz2 | |
Revert previous tweak.
We need to wait for documentReady() here to ensure that the document is ready in the top frame.
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 39bfaacb..77dbcc9d 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -439,7 +439,8 @@ initializeTopFrameUIComponents = do ->    Frame.addEventListener "initializeTopFrameUIComponents", Utils.makeIdempotent ->      DomUtils.documentReady Vomnibar.init.bind Vomnibar -  Utils.makeIdempotent -> Frame.postMessage "initializeTopFrameUIComponents" +  Utils.makeIdempotent -> DomUtils.documentReady -> +    Frame.postMessage "initializeTopFrameUIComponents"  # Initialize UI components which are only installed in all frames (i.e., the HUD).  initializeAllFrameUIComponents = Utils.makeIdempotent -> | 
