diff options
| author | Stephen Blott | 2015-02-08 09:23:11 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-02-08 09:25:03 +0000 |
| commit | b071067a0036a4bd3ce6d2bba8e00fadfd372e21 (patch) | |
| tree | 99db370c92f55b51bf62a33f62b571f8c00d6c80 /content_scripts | |
| parent | 534e460f437ade1016ddff6d7ffa2c2e6b254b17 (diff) | |
| download | vimium-b071067a0036a4bd3ce6d2bba8e00fadfd372e21.tar.bz2 | |
Fix error introduced in 5c155d5eab6632fda9b71713e11af299726d5204.
Diffstat (limited to 'content_scripts')
| -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 584b7cbb..cf7aadca 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -515,7 +515,8 @@ checkIfEnabledForUrl = -> chrome.runtime.sendMessage { handler: "isEnabledForUrl", url: url }, (response) -> isEnabledForUrl = response.isEnabledForUrl passKeys = response.passKeys - initializeWhenEnabled() if isEnabledForUrl + if isEnabledForUrl + initializeWhenEnabled() else if (HUD.isReady()) # Quickly hide any HUD we might already be showing, e.g. if we entered insert mode on page load. HUD.hide() |
