mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tooltip: clearInterval for delayed tracking tooltips on remove
This is needed in the case that the tooltip is removed before it gets shown.
This commit is contained in:
parent
d85c68f6cd
commit
611bf44093
@ -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