diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-05-21 09:55:56 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-05-21 09:55:56 -0400 |
commit | 5455b1599f438310146acb3f2190335b852280cb (patch) | |
tree | 1d94e177d3a1c46e2f1a96529904893a7b8d79fd /ui/jquery.ui.resizable.js | |
parent | eccd622a4de377d0e4f6f1ed73c1afd8f4fb6964 (diff) | |
download | jquery-ui-5455b1599f438310146acb3f2190335b852280cb.tar.gz jquery-ui-5455b1599f438310146acb3f2190335b852280cb.zip |
Resizable, Slider: Don't use .hover().
Diffstat (limited to 'ui/jquery.ui.resizable.js')
-rw-r--r-- | ui/jquery.ui.resizable.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/jquery.ui.resizable.js b/ui/jquery.ui.resizable.js index b4433b618..6039cf648 100644 --- a/ui/jquery.ui.resizable.js +++ b/ui/jquery.ui.resizable.js @@ -171,12 +171,12 @@ $.widget("ui.resizable", $.ui.mouse, { this._handles.hide(); $(this.element) .addClass("ui-resizable-autohide") - .hover(function() { + .mouseenter(function() { if (o.disabled) return; $(this).removeClass("ui-resizable-autohide"); that._handles.show(); - }, - function(){ + }) + .mouseleave(function(){ if (o.disabled) return; if (!that.resizing) { $(this).addClass("ui-resizable-autohide"); |