diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-04 11:13:14 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-04 11:14:37 -0400 |
commit | f5261f359e8cad8f525f6a36c113b7058e533c71 (patch) | |
tree | 7f1a9d26b5bf1c284422834555e17e9aa2bfc661 /ui/jquery.ui.tooltip.js | |
parent | 7009e9b332a8b96bb368ff43546a9682ef20918e (diff) | |
download | jquery-ui-f5261f359e8cad8f525f6a36c113b7058e533c71.tar.gz jquery-ui-f5261f359e8cad8f525f6a36c113b7058e533c71.zip |
Tooltip: Stop tracking the mouse if the element gains focus. Fixes #8622 - Tooltip tracks mouse when the element has focus.
Diffstat (limited to 'ui/jquery.ui.tooltip.js')
-rw-r--r-- | ui/jquery.ui.tooltip.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index f38379f21..bb6ea6d88 100644 --- a/ui/jquery.ui.tooltip.js +++ b/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._off( this.document, "mousemove" ); return; } |