Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tooltip: Stop tracking the mouse if the element gains focus. Fixes #8…
…622 - Tooltip tracks mouse when the element has focus.
  • Loading branch information
scottgonzalez committed Oct 4, 2012
1 parent 7009e9b commit f5261f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/jquery.ui.tooltip.js
Expand Up @@ -140,6 +140,8 @@ $.widget( "ui.tooltip", {
this._find( target ).position( $.extend({
of: target
}, this.options.position ) );
// Stop tacking (#8622)

This comment has been minimized.

Copy link
@jzaefferer

jzaefferer Oct 4, 2012

Member

You mean "tracking"?

This comment has been minimized.

Copy link
@scottgonzalez

scottgonzalez Oct 4, 2012

Author Member

Thanks, fixed.

this._off( this.document, "mousemove" );
return;
}

Expand Down

0 comments on commit f5261f3

Please sign in to comment.