mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-27 01:23:31 +01:00
made default value in help monospace again
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user