aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-09-16 10:39:54 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-09-16 10:39:54 +0000
commitfd40ff0fe036cf4c38b93f0345505052f83dbb66 (patch)
tree4ded944a8fe59aed72e6c5b2589df37f6b0b9ae6
parentb08ae847bf20721545cec87e6e08aa4c3a51d0a8 (diff)
downloadjquery-ui-fd40ff0fe036cf4c38b93f0345505052f83dbb66.tar.gz
jquery-ui-fd40ff0fe036cf4c38b93f0345505052f83dbb66.zip
draggable: destroy method now properly removes the class ui-draggable (Fixes 3424)
-rw-r--r--ui/ui.draggable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index c0d7ad4ae..eb3d9a558 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -338,7 +338,7 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, {
},
destroy: function() {
if(!this.element.data('draggable')) return;
- this.element.removeData("draggable").unbind(".draggable").removeClass('ui-draggable-dragging ui-draggable-disabled');
+ this.element.removeData("draggable").unbind(".draggable").removeClass('ui-draggable ui-draggable-dragging ui-draggable-disabled');
this._mouseDestroy();
}
}));