mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 07:57:59 +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) {
|
||||
link = function (opt) <o>{opt}</o>;
|
||||
link = function (opt, name) <o>{name}</o>;
|
||||
}
|
||||
|
||||
XML.prettyPrinting = false;
|
||||
@@ -802,7 +802,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
</>;
|
||||
|
||||
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)
|
||||
}</dd></res>;
|
||||
if (specOnly)
|
||||
|
||||
Reference in New Issue
Block a user