File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ $.widget( "ui.tooltip", {
270
270
// as the tooltip is visible, position the tooltip using the most recent
271
271
// event.
272
272
if ( this . options . show && this . options . show . delay ) {
273
- delayedShow = setInterval ( function ( ) {
273
+ delayedShow = this . delayedShow = setInterval ( function ( ) {
274
274
if ( tooltip . is ( ":visible" ) ) {
275
275
position ( positionOption . of ) ;
276
276
clearInterval ( delayedShow ) ;
@@ -312,6 +312,9 @@ $.widget( "ui.tooltip", {
312
312
return ;
313
313
}
314
314
315
+ // Clear the interval for delayed tracking tooltips
316
+ clearInterval ( this . delayedShow ) ;
317
+
315
318
// only set title if we had one before (see comment in _open())
316
319
if ( target . data ( "ui-tooltip-title" ) ) {
317
320
target . attr ( "title" , target . data ( "ui-tooltip-title" ) ) ;
You can’t perform that action at this time.
0 commit comments