Permalink
Browse files

Resizable: Skip autohide hover action when resizable is disabled. Fix…

… #6948 - Resizable autoHide Doesn't Work With Resizable's disable
  • Loading branch information...
1 parent 2e882de commit 0e2bc5efe217681c006ae7a16be21520e6563da6 @carsonmcdonald carsonmcdonald committed May 9, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 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();

1 comment on commit 0e2bc5e

Owner

scottgonzalez commented on 0e2bc5e Dec 10, 2013

@carsonmcdonald Can you please sign our CLA?

Please sign in to comment.