Update setHints.js to avoid sticking hints

As described in #4137, this add a simple click handler to hide the hint when the mouse button is pressed.
This commit is contained in:
CalamitousFelicitousness
2025-08-20 16:53:04 +01:00
committed by GitHub
parent 03b5a55dd9
commit 857858ee6e
+1
View File
@@ -329,6 +329,7 @@ async function setHints(analyze = false) {
}
el.addEventListener('mouseover', tooltipShow);
el.addEventListener('mouseout', tooltipHide);
el.addEventListener('click', tooltipHide);
} else {
// tooltips disabled
}