Skip to content

Commit 9a4c057

Browse files
pallxkscottgonzalez
authored andcommitted
Tooltip: Clear interval for delayed tracking tooltips on remove
This is needed in the case that the tooltip is removed before it gets shown. Fixes #15099 Closes gh-1768
1 parent d85c68f commit 9a4c057

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/widgets/tooltip.js

+4
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,10 @@ $.widget( "ui.tooltip", {
452452
},
453453

454454
_removeTooltip: function( tooltip ) {
455+
456+
// Clear the interval for delayed tracking tooltips
457+
clearInterval( this.delayedShow );
458+
455459
tooltip.remove();
456460
delete this.tooltips[ tooltip.attr( "id" ) ];
457461
},

0 commit comments

Comments
 (0)