From ce5300b88a968104231ffa679e7f71da320de1fa Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Wed, 3 Feb 2016 03:49:06 +0000 Subject: Update only help dialog contents when showing --- background_scripts/main.coffee | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'background_scripts') 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 "", replacementString - dialogHtml + replacementStrings # # Generates HTML for a given set of commands. commandGroups are defined in commands.js -- cgit v1.2.3