Skip to content

Commit 4259978

Browse files
committed
Sortable: Fixed destroy to remove instance from element. Fixes #8094 - .sortable() after destroy does not work.
1 parent 519985f commit 4259978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $.widget("ui.sortable", $.ui.mouse, {
6565

6666
},
6767

68-
destroy: function() {
68+
_destroy: function() {
6969
this.element
7070
.removeClass("ui-sortable ui-sortable-disabled");
7171
this._mouseDestroy();

0 commit comments

Comments
 (0)