diff options
| author | Stephen Blott | 2015-05-13 05:52:53 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2015-05-13 06:04:09 +0100 | 
| commit | 117b233ed5242cf0a144186ead860117f0a7cc83 (patch) | |
| tree | 9527476a89f518e7a62565f66b1be78f56c4f37e /content_scripts/hud.coffee | |
| parent | 31c38cef439890364d6fc9e08fad2c826e6c97ca (diff) | |
| download | vimium-117b233ed5242cf0a144186ead860117f0a7cc83.tar.bz2 | |
Minor fixes for #1658.
- Mis-named: "handler" -> "name".
- We need to reset the HUD's innerHTML on hide to avoid a flicker when
  HUD later becomes visible again (but with new text).
- There is no longer a need to hide the HUD in order to avoid mathing
  the text in the HUD itself.
Diffstat (limited to 'content_scripts/hud.coffee')
| -rw-r--r-- | content_scripts/hud.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/hud.coffee b/content_scripts/hud.coffee index 55c302d6..e07d0713 100644 --- a/content_scripts/hud.coffee +++ b/content_scripts/hud.coffee @@ -37,7 +37,7 @@ HUD =      if immediate        unless updateIndicator          @hudUI.hide() -        @hudUI.postMessage {handler: "hide"} +        @hudUI.postMessage {name: "hide"}        Mode.setIndicator() if updateIndicator      else        @tween.fade 0, 150, => @hide true, updateIndicator  | 
