From ae73ad02e936f66bb894fca5da13a631bcd14d31 Mon Sep 17 00:00:00 2001 From: Phil Crosby Date: Sun, 30 Jan 2011 02:11:58 -0800 Subject: Split the help dialog into common commands and advanced commands. This closes #284 --- background_page.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'background_page.html') diff --git a/background_page.html b/background_page.html index ac83a0c3..87b3c9ad 100644 --- a/background_page.html +++ b/background_page.html @@ -195,11 +195,12 @@ var html = []; for (var i = 0; i < commandGroups[group].length; i++) { var command = commandGroups[group][i]; - bindings = (commandsToKey[command] || [""]).join(", ") - if (showUnboundCommands || commandsToKey[command]) - { - html.push("", escapeHtml(bindings), - ":", availableCommands[command].description); + bindings = (commandsToKey[command] || [""]).join(", "); + if (showUnboundCommands || commandsToKey[command]) { + html.push( + "", + "", escapeHtml(bindings), "", + ":", availableCommands[command].description); if (showCommandNames) html.push("(" + command + ")"); -- cgit v1.2.3