aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.resizable.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-05-24 15:16:28 -0400
committerScott González <scott.gonzalez@gmail.com>2012-05-24 15:16:28 -0400
commitae3d3515a7489ae4abd9a10b14db97dc1d7b9476 (patch)
tree92a5a654507d436cf78ba58dd2478a3a0f06e5c0 /ui/jquery.ui.resizable.js
parent4da1716cfd88ac9b4a8362f715c081c2f75bd316 (diff)
downloadjquery-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.js4
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