Permalink
Browse files

draggable: destroy method now properly removes the class ui-draggable…

… (Fixes 3424)
  • Loading branch information...
1 parent b08ae84 commit fd40ff0fe036cf4c38b93f0345505052f83dbb66 Paul Bakaus committed Sep 16, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.draggable.js
View
@@ -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();
}
}));

0 comments on commit fd40ff0

Please sign in to comment.