mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
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:
committed by
GitHub
parent
03b5a55dd9
commit
857858ee6e
@@ -329,6 +329,7 @@ async function setHints(analyze = false) {
|
||||
}
|
||||
el.addEventListener('mouseover', tooltipShow);
|
||||
el.addEventListener('mouseout', tooltipHide);
|
||||
el.addEventListener('click', tooltipHide);
|
||||
} else {
|
||||
// tooltips disabled
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user