mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 22:57:58 +01:00
fixed display of active hint
This commit is contained in:
@@ -314,12 +314,12 @@ outer:
|
||||
hints[i][3] = imgspan;
|
||||
doc.body.appendChild(imgspan);
|
||||
}
|
||||
imgspan.style.backgroundColor = (activeHint == i + 1) ? "#88FF00" : "yellow";
|
||||
imgspan.style.backgroundColor = (activeHint == hintnum) ? "#88FF00" : "yellow";
|
||||
imgspan.style.display = "inline";
|
||||
}
|
||||
|
||||
if (!imgspan)
|
||||
elem.style.backgroundColor = (activeHint == i + 1) ? "#88FF00" : "yellow";
|
||||
elem.style.backgroundColor = (activeHint == hintnum) ? "#88FF00" : "yellow";
|
||||
elem.style.color = "black";
|
||||
span.textContent = "" + (hintnum++);
|
||||
span.style.display = "inline";
|
||||
|
||||
Reference in New Issue
Block a user