aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pages/help_dialog.coffee6
1 files changed, 6 insertions, 0 deletions
diff --git a/pages/help_dialog.coffee b/pages/help_dialog.coffee
index a25edaab..e2f5220f 100644
--- a/pages/help_dialog.coffee
+++ b/pages/help_dialog.coffee
@@ -1,3 +1,9 @@
+# This overrides the HelpDialog implementation in vimium_frontend.coffee, which prevents us from being able
+# to spawn a help dialog within the help dialog UIComponent. As such, we need to provide all the properties
+# that we expect on the normal HelpDialog implementation.
+#
+# NOTE(mrmr1993): In the future, we can move to a single help dialog UIComponent per tab (ie. in the
+# top-level frame), and then we don't need to be concerned about nested help dialog frames.
HelpDialog =
dialogElement: null
showing: true