mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add click-on-tooltip to close
For the rare occasions a tooltip gets orphaned on the page
This commit is contained in:
parent
3365d26b40
commit
52373e5bef
@ -131,6 +131,11 @@ RED.popover = (function() {
|
||||
existingPopover.close(true);
|
||||
}
|
||||
target.data("red-ui-popover",res)
|
||||
if (options.tooltip) {
|
||||
div.on("mousedown", function(evt) {
|
||||
closePopup(true);
|
||||
});
|
||||
}
|
||||
if (instant) {
|
||||
div.show();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user