1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 10:17:59 +01:00

Fix option index.

This commit is contained in:
Kris Maglione
2011-01-06 13:13:36 -05:00
parent 34ce63a150
commit 524f9c2daf

View File

@@ -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)