mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-18 09:12:31 +02:00
Fix highlighting active hint.
This commit is contained in:
1 parent
7c3f6eb595
commit
4ab62279ed
1 file changed
+2
-1
@@ -239,12 +239,13 @@ function Hints() //{{{
|
|||||||
setClass(imgspan, activeHint == hintnum)
|
setClass(imgspan, activeHint == hintnum)
|
||||||
}
|
}
|
||||||
|
|
||||||
span.setAttribute("number", hintnum++);
|
span.setAttribute("number", hintnum);
|
||||||
if (imgspan)
|
if (imgspan)
|
||||||
imgspan.setAttribute("number", hintnum);
|
imgspan.setAttribute("number", hintnum);
|
||||||
else
|
else
|
||||||
setClass(elem, activeHint == hintnum);
|
setClass(elem, activeHint == hintnum);
|
||||||
validHints.push(elem);
|
validHints.push(elem);
|
||||||
|
hintnum++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user