aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vimium_frontend.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index 93b4bf34..fdfef910 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -219,7 +219,7 @@ initializeOnDomReady = ->
# We only initialize the vomnibar in the tab's main frame, because it's only ever opened there.
Vomnibar.init() if DomUtils.isTopFrame()
HUD.init()
- HelpDialog.init()
+ HelpDialog.init() unless document.location.toString() == chrome.extension.getURL "pages/help_dialog.html"
registerFrame = ->
# Don't register frameset containers; focusing them is no use.
@@ -782,7 +782,7 @@ window.HelpDialog =
@helpUI = new UIComponent "pages/help_dialog.html", "vimiumHelpDialogFrame", (event) =>
@helpUI.hide() if event.data == "hide"
- isReady: -> true
+ isReady: -> @helpUI?
show: (html) ->
return if HelpDialog.showing or !@isReady()