Skip to content

Commit

Permalink
Sortable: Fixed destroy to remove instance from element. Fixes #8094 …
Browse files Browse the repository at this point in the history
…- .sortable() after destroy does not work.
  • Loading branch information
scottgonzalez committed Feb 2, 2012
1 parent 519985f commit 4259978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.sortable.js
Expand Up @@ -65,7 +65,7 @@ $.widget("ui.sortable", $.ui.mouse, {

},

destroy: function() {
_destroy: function() {
this.element
.removeClass("ui-sortable ui-sortable-disabled");
this._mouseDestroy();
Expand Down

0 comments on commit 4259978

Please sign in to comment.