aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.resizable.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-05-21 09:55:56 -0400
committerScott González <scott.gonzalez@gmail.com>2012-05-21 09:55:56 -0400
commit5455b1599f438310146acb3f2190335b852280cb (patch)
tree1d94e177d3a1c46e2f1a96529904893a7b8d79fd /ui/jquery.ui.resizable.js
parenteccd622a4de377d0e4f6f1ed73c1afd8f4fb6964 (diff)
downloadjquery-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.js6
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");