diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-05-24 15:16:28 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-05-24 15:16:28 -0400 |
commit | ae3d3515a7489ae4abd9a10b14db97dc1d7b9476 (patch) | |
tree | 92a5a654507d436cf78ba58dd2478a3a0f06e5c0 /ui/jquery.ui.resizable.js | |
parent | 4da1716cfd88ac9b4a8362f715c081c2f75bd316 (diff) | |
download | jquery-ui-ae3d3515a7489ae4abd9a10b14db97dc1d7b9476.tar.gz jquery-ui-ae3d3515a7489ae4abd9a10b14db97dc1d7b9476.zip |
Resizable: Fixed destroy method.
Diffstat (limited to 'ui/jquery.ui.resizable.js')
-rw-r--r-- | ui/jquery.ui.resizable.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.resizable.js b/ui/jquery.ui.resizable.js index 6039cf648..f9330e843 100644 --- a/ui/jquery.ui.resizable.js +++ b/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 |