1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

hide tooltip after removing subflow tab

This commit is contained in:
Hiroyasu Nishiyama 2022-02-02 11:34:58 +09:00
parent b7bae18849
commit 7959d18248

View File

@ -350,6 +350,15 @@ RED.popover = (function() {
} }
} }
target.on("remove", function (ev) {
if (timer) {
clearTimeout(timer);
}
if (active) {
active = false;
setTimeout(closePopup,delay.hide);
}
});
if (trigger === 'hover') { if (trigger === 'hover') {
target.on('mouseenter',function(e) { target.on('mouseenter',function(e) {
clearTimeout(timer); clearTimeout(timer);