diff options
author | Carson McDonald <carson@ioncannon.net> | 2011-05-09 11:00:12 -0400 |
---|---|---|
committer | Carson McDonald <carson@ioncannon.net> | 2011-05-09 11:00:12 -0400 |
commit | 0e2bc5efe217681c006ae7a16be21520e6563da6 (patch) | |
tree | 72d5a8988ea108ab75c6226a68e901f2db726595 | |
parent | 2e882de30e18b91ec77e67805fc5169c3ac58096 (diff) | |
download | jquery-ui-0e2bc5efe217681c006ae7a16be21520e6563da6.tar.gz jquery-ui-0e2bc5efe217681c006ae7a16be21520e6563da6.zip |
Resizable: Skip autohide hover action when resizable is disabled. Fix #6948 - Resizable autoHide Doesn't Work With Resizable's disable
-rw-r--r-- | ui/jquery.ui.resizable.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/jquery.ui.resizable.js b/ui/jquery.ui.resizable.js index 1e1706a9d..e0579ef84 100644 --- a/ui/jquery.ui.resizable.js +++ b/ui/jquery.ui.resizable.js @@ -176,10 +176,12 @@ $.widget("ui.resizable", $.ui.mouse, { $(this.element) .addClass("ui-resizable-autohide") .hover(function() { + if (o.disabled) return; $(this).removeClass("ui-resizable-autohide"); self._handles.show(); }, function(){ + if (o.disabled) return; if (!self.resizing) { $(this).addClass("ui-resizable-autohide"); self._handles.hide(); |