mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Sortable: Fixed destroy to remove instance from element. Fixes #8094 - .sortable() after destroy does not work.
This commit is contained in:
parent
519985f612
commit
4259978d39
2
ui/jquery.ui.sortable.js
vendored
2
ui/jquery.ui.sortable.js
vendored
@ -65,7 +65,7 @@ $.widget("ui.sortable", $.ui.mouse, {
|
||||
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
_destroy: function() {
|
||||
this.element
|
||||
.removeClass("ui-sortable ui-sortable-disabled");
|
||||
this._mouseDestroy();
|
||||
|
Loading…
Reference in New Issue
Block a user