From 4ab62279edeb8444ea44eaa01ad698d81ebe4548 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 5 Dec 2008 13:34:21 -0500 Subject: [PATCH] Fix highlighting active hint. --- common/content/hints.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/content/hints.js b/common/content/hints.js index 59474707..8613b6e9 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -239,12 +239,13 @@ function Hints() //{{{ setClass(imgspan, activeHint == hintnum) } - span.setAttribute("number", hintnum++); + span.setAttribute("number", hintnum); if (imgspan) imgspan.setAttribute("number", hintnum); else setClass(elem, activeHint == hintnum); validHints.push(elem); + hintnum++; } }