From 524f9c2daf1b6761c652a6898c786906724d492c Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 6 Jan 2011 13:13:36 -0500 Subject: [PATCH] Fix option index. --- common/content/dactyl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 3217ede0..47879022 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -790,7 +790,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { } } else if (obj instanceof Option) { - link = function (opt) {opt}; + link = function (opt, name) {name}; } XML.prettyPrinting = false; @@ -802,7 +802,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { ; let res = -
{link(obj.helpTag || obj.name)}
{ +
{link(obj.helpTag || obj.name, obj.name)}
{ template.linkifyHelp(obj.description ? obj.description.replace(/\.$/, "") : "", true) }
; if (specOnly)