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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user