1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-27 08:33:33 +01:00

made default value in help monospace again

This commit is contained in:
Martin Stubenschrott
2007-06-17 09:34:15 +00:00
parent 12c75c8052
commit 56420883ba

View File

@@ -38,8 +38,6 @@ function help(section, easter)
else else
openURLs("about:blank"); openURLs("about:blank");
// xxx: for firebug: :js Firebug.toggleBar(true)
/* commands = array where help information is located /* commands = array where help information is located
* beg = string which is printed before the commmand/option/mapping name * beg = string which is printed before the commmand/option/mapping name
* end = string which is printed after the commmand/option/mapping name * end = string which is printed after the commmand/option/mapping name
@@ -113,7 +111,7 @@ function help(section, easter)
function makeOptionsHelpString(command) function makeOptionsHelpString(command)
{ {
var ret = ""; var ret = "";
ret = command.type + ' (default: <span style="font-family: monospace;">'; ret = command.type + ' (default: ">';
if (command.type == "boolean") if (command.type == "boolean")
{ {
if(command.default_value == true) if(command.default_value == true)
@@ -129,7 +127,7 @@ function help(section, easter)
ret += command.default_value; ret += command.default_value;
} }
ret += "</span>)<br/>"; ret += ")<br/>";
return ret; return ret;
} }