Fix multiple tooltips if user moves the mouse just right.

Sometimes one of those tooltips would not disappear.
This commit is contained in:
nathan 2024-04-17 09:47:24 -06:00
parent 7c352d0a40
commit e7571094ef

View File

@ -49,9 +49,9 @@ egw.extend('tooltip', egw.MODULE_WND_LOCAL, function(_app, _wnd)
{
if (tooltip_div != null)
{
tooltip_div.remove();
tooltip_div = null;
}
_wnd.document.querySelectorAll("body > .egw_tooltip").forEach(t => t.remove());
}
/**