mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Sortable: Fixed destroy method to call parent destroy method. Fixes #8094 - .sortable() after destroy does not work.
This commit is contained in:
parent
28668948df
commit
988b803be3
1
ui/jquery.ui.sortable.js
vendored
1
ui/jquery.ui.sortable.js
vendored
@ -65,6 +65,7 @@ $.widget("ui.sortable", $.ui.mouse, {
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
$.Widget.prototype.destroy.call( this );
|
||||
this.element
|
||||
.removeClass("ui-sortable ui-sortable-disabled");
|
||||
this._mouseDestroy();
|
||||
|
Loading…
Reference in New Issue
Block a user