mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
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
This commit is contained in:
parent
d85c68f6cd
commit
9a4c057157
@ -452,6 +452,10 @@ $.widget( "ui.tooltip", {
|
||||
},
|
||||
|
||||
_removeTooltip: function( tooltip ) {
|
||||
|
||||
// Clear the interval for delayed tracking tooltips
|
||||
clearInterval( this.delayedShow );
|
||||
|
||||
tooltip.remove();
|
||||
delete this.tooltips[ tooltip.attr( "id" ) ];
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user