aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/hud.coffee
diff options
context:
space:
mode:
authorStephen Blott2016-02-20 07:01:54 +0000
committerStephen Blott2016-02-20 07:01:54 +0000
commit8cf72842ad516cba7eb161ae650d48a298e55442 (patch)
treef68eda11245ed7ad02affafacf805bb0e89aa2e6 /content_scripts/hud.coffee
parent476d6ee707486f2731753b937566f0fe28df4a8e (diff)
downloadvimium-8cf72842ad516cba7eb161ae650d48a298e55442.tar.bz2
hideHUD option applies to insert mode only.
This makes the `hideHud` option apply only to insert mode (when entered with `i`). Fixes #1953. Fixes #487. We could rename the option itself and add migration code, but that seems overkill. An alternative would be to remove this option entirely.
Diffstat (limited to 'content_scripts/hud.coffee')
-rw-r--r--content_scripts/hud.coffee3
1 files changed, 1 insertions, 2 deletions
diff --git a/content_scripts/hud.coffee b/content_scripts/hud.coffee
index 5a3d9b79..453d6522 100644
--- a/content_scripts/hud.coffee
+++ b/content_scripts/hud.coffee
@@ -87,8 +87,7 @@ HUD =
DomUtils.documentReady -> ready = true
-> ready and document.body != null
- # A preference which can be toggled in the Options page. */
- enabled: -> !Settings.get("hideHud")
+ enabled: -> true
class Tween
opacity: 0