aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/hud.coffee
diff options
context:
space:
mode:
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 32662861..0bd1df3e 100644
--- a/content_scripts/hud.coffee
+++ b/content_scripts/hud.coffee
@@ -50,8 +50,7 @@ HUD =
clearTimeout(@_showForDurationTimerId)
@tween.stop()
if immediate
- @hudUI.hide()
- Mode.setIndicator() if updateIndicator
+ if updateIndicator then Mode.setIndicator() else @hudUI.hide()
else
@tween.fade 0, 150, => @hide true, updateIndicator