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

No mapping found

This commit is contained in:
Kris Maglione
2008-12-05 07:31:58 -05:00
parent bf25c4fe6a
commit 0e13ddd166
3 changed files with 8 additions and 15 deletions

View File

@@ -208,12 +208,13 @@ function Hints() //{{{
let hint = pageHints[i];
[elem, text, span, imgspan] = hint;
if (!validHint(text))
{
span.style.display = "none";
if (imgspan)
imgspan.style.display = "none";
let valid = validHint(text);
span.style.display = (valid ? "" : "none");
if (imgspan)
imgspan.style.display = (valid ? "" : "none");
if (!valid)
{
elem.removeAttributeNS(NS.uri, "highlight");
continue inner;
}
@@ -238,7 +239,6 @@ function Hints() //{{{
setClass(imgspan, activeHint == hintnum)
}
span.style.display = "inline";
span.setAttribute("number", hintnum++);
if (imgspan)
imgspan.setAttribute("number", hintnum);