mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 00:17:58 +01:00
added version info to help file, fixed font size for tables
This commit is contained in:
@@ -83,7 +83,10 @@ function help(section, easter)
|
||||
ret += "<br/>";
|
||||
}
|
||||
if (commands[i][HELP])
|
||||
{
|
||||
ret += commands[i][HELP]; // the help description
|
||||
ret += "<br/>";
|
||||
}
|
||||
}
|
||||
else
|
||||
ret += "Sorry, no help available";
|
||||
@@ -182,6 +185,7 @@ function help(section, easter)
|
||||
// XXX: stylesheet broken here? Have to add it in the vimperator.xul file
|
||||
'<link rel="stylesheet" href="chrome://vimperator/content/default.css" type="text/css">'+
|
||||
'</head><body><pre style="white-space: -moz-pre-wrap !important;"><table class="main"><tr><td>' + // should change that to: white-space: pre-wrap; once CSS3 hits firefox
|
||||
'<span class="version">version ' + g_vimperator_version + '</span>'+
|
||||
header +
|
||||
introduction +
|
||||
mappings +
|
||||
|
||||
Reference in New Issue
Block a user