Skip to content
Permalink
Browse files

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 f5261f359e8cad8f525f6a36c113b7058e533c71
Showing with 2 additions and 0 deletions.
  1. +2 −0 ui/jquery.ui.tooltip.js
@@ -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;
}

0 comments on commit f5261f3

Please sign in to comment.
You can’t perform that action at this time.