Skip to content
Permalink
Browse files

Resizable: Fixed destroy method.

  • Loading branch information
scottgonzalez committed May 24, 2012
1 parent 4da1716 commit ae3d3515a7489ae4abd9a10b14db97dc1d7b9476
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.resizable.js
@@ -190,13 +190,13 @@ $.widget("ui.resizable", $.ui.mouse, {

},

destroy: function() {
_destroy: function() {

this._mouseDestroy();

var _destroy = function(exp) {
$(exp).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing")
.removeData("resizable").unbind(".resizable").find('.ui-resizable-handle').remove();
.removeData("resizable").removeData("ui-resizable").unbind(".resizable").find('.ui-resizable-handle').remove();
};

//TODO: Unwrap at same DOM position

0 comments on commit ae3d351

Please sign in to comment.
You can’t perform that action at this time.