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

Fix highlighting active hint.

This commit is contained in:
Kris Maglione
2008-12-05 13:34:21 -05:00
parent 7c3f6eb595
commit 4ab62279ed

View File

@@ -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++;
}
}