mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 10:08:00 +01:00
Fix option index.
This commit is contained in:
@@ -790,7 +790,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (obj instanceof Option) {
|
else if (obj instanceof Option) {
|
||||||
link = function (opt) <o>{opt}</o>;
|
link = function (opt, name) <o>{name}</o>;
|
||||||
}
|
}
|
||||||
|
|
||||||
XML.prettyPrinting = false;
|
XML.prettyPrinting = false;
|
||||||
@@ -802,7 +802,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
</>;
|
</>;
|
||||||
|
|
||||||
let res = <res>
|
let res = <res>
|
||||||
<dt>{link(obj.helpTag || obj.name)}</dt> <dd>{
|
<dt>{link(obj.helpTag || obj.name, obj.name)}</dt> <dd>{
|
||||||
template.linkifyHelp(obj.description ? obj.description.replace(/\.$/, "") : "", true)
|
template.linkifyHelp(obj.description ? obj.description.replace(/\.$/, "") : "", true)
|
||||||
}</dd></res>;
|
}</dd></res>;
|
||||||
if (specOnly)
|
if (specOnly)
|
||||||
|
|||||||
Reference in New Issue
Block a user