mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-04 18:21:35 +01:00
Switch tooltip cleanup to a better fitting event
This commit is contained in:
parent
995be1c5d0
commit
9b69c8e95e
@ -26,7 +26,7 @@ egw.extend('tooltip', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
||||
"use strict";
|
||||
|
||||
const tooltipped = [];
|
||||
_wnd.addEventListener("beforeunload", (e) =>
|
||||
_wnd.addEventListener("unload", (e) =>
|
||||
{
|
||||
tooltipped.forEach(node =>
|
||||
{
|
||||
@ -37,6 +37,7 @@ egw.extend('tooltip', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
||||
{
|
||||
tooltipped.off();
|
||||
}
|
||||
return null;
|
||||
})
|
||||
|
||||
let tooltip_div = null;
|
||||
|
Loading…
Reference in New Issue
Block a user