Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 0e2bc5efe217681c006ae7a16be21520e6563da6 1 parent 2e882de
@carsonmcdonald carsonmcdonald authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  ui/jquery.ui.resizable.js
View
2  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

@scottgonzalez

@carsonmcdonald Can you please sign our CLA?

Please sign in to comment.
Something went wrong with that request. Please try again.