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