1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 21:32:25 +01:00

Fix help reference linkification in MOW.

This commit is contained in:
Doug Kearns
2012-09-05 00:56:58 +10:00
parent 1e2052c0d9
commit 266c86a9d1
3 changed files with 5 additions and 22 deletions

View File

@@ -771,7 +771,9 @@ var Mappings = Module("mappings", {
format: {
description: function (map) (XML.ignoreWhitespace = false, XML.prettyPrinting = false, <>
{options.get("passkeys").has(map.name)
? <span highlight="URLExtra">(passed by {template.helpLink("'passkeys'")})</span>
? <span highlight="URLExtra">
({template.linkifyHelp(_("option.passkeys.passedBy"))})
</span>
: <></>}
{template.linkifyHelp(map.description + (map.rhs ? ": " + map.rhs : ""))}
</>),
@@ -779,7 +781,7 @@ var Mappings = Module("mappings", {
char === "n" ? map.name : char ? char + "_" + map.name : "",
headings: ["Command", "Mode", "Group", "Description"]
}
}
};
dactyl.addUsageCommand({
__proto__: args,