aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authormrmr19932016-02-03 03:49:06 +0000
committermrmr19932016-02-03 03:49:06 +0000
commitce5300b88a968104231ffa679e7f71da320de1fa (patch)
tree25c4da0f7fefe7c13ed2db52ecf88f77e46b2cb4 /background_scripts
parenta25b2b948e5b714b1c0d80f03ec5638d7607fe27 (diff)
downloadvimium-ce5300b88a968104231ffa679e7f71da320de1fa.tar.bz2
Update only help dialog contents when showing
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee5
1 files changed, 1 insertions, 4 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index a027154a..ad47c399 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -153,10 +153,7 @@ root.helpDialogHtml = (showUnboundCommands, showCommandNames, customTitle) ->
helpDialogHtmlForCommandGroup(group, commandsToKey, Commands.availableCommands,
showUnboundCommands, showCommandNames)
- dialogHtml = fetchFileContents("pages/help_dialog.html")
- for placeholder, replacementString of replacementStrings
- dialogHtml = dialogHtml.replace "<span id=\"help-dialog-#{placeholder}\"></span>", replacementString
- dialogHtml
+ replacementStrings
#
# Generates HTML for a given set of commands. commandGroups are defined in commands.js