aboutsummaryrefslogtreecommitdiffstats
path: root/pages/help_dialog.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'pages/help_dialog.coffee')
-rw-r--r--pages/help_dialog.coffee4
1 files changed, 4 insertions, 0 deletions
diff --git a/pages/help_dialog.coffee b/pages/help_dialog.coffee
index b2d33f95..373aa94a 100644
--- a/pages/help_dialog.coffee
+++ b/pages/help_dialog.coffee
@@ -69,9 +69,13 @@ UIComponentServer.registerHandler (event) ->
HelpDialog.init()
HelpDialog.show event.data
Frame.postMessage "registerFrame"
+ # If we abandoned (see below) in a mode with a HUD indicator, then we have to reinstate it.
+ Mode.setIndicator()
when "hidden"
# Unregister the frame, so that it's not available for `gf` or link hints.
Frame.postMessage "unregisterFrame"
+ # Abandon any HUD which might be showing within the help dialog.
+ HUD.abandon()
root = exports ? window
root.HelpDialog = HelpDialog