diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-09-16 10:39:54 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-09-16 10:39:54 +0000 |
commit | fd40ff0fe036cf4c38b93f0345505052f83dbb66 (patch) | |
tree | 4ded944a8fe59aed72e6c5b2589df37f6b0b9ae6 | |
parent | b08ae847bf20721545cec87e6e08aa4c3a51d0a8 (diff) | |
download | jquery-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.js | 2 |
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(); } })); |