File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ $.widget( "ui.tooltip", {
270270 // as the tooltip is visible, position the tooltip using the most recent
271271 // event.
272272 if ( this . options . show && this . options . show . delay ) {
273- delayedShow = setInterval ( function ( ) {
273+ delayedShow = this . delayedShow = setInterval ( function ( ) {
274274 if ( tooltip . is ( ":visible" ) ) {
275275 position ( positionOption . of ) ;
276276 clearInterval ( delayedShow ) ;
@@ -312,6 +312,9 @@ $.widget( "ui.tooltip", {
312312 return ;
313313 }
314314
315+ // Clear the interval for delayed tracking tooltips
316+ clearInterval ( this . delayedShow ) ;
317+
315318 // only set title if we had one before (see comment in _open())
316319 if ( target . data ( "ui-tooltip-title" ) ) {
317320 target . attr ( "title" , target . data ( "ui-tooltip-title" ) ) ;
You can’t perform that action at this time.
0 commit comments