mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
fixed #5094 - selectable: destroy method doesn't clean up selectees
This commit is contained in:
parent
93ed6d5a0c
commit
f7c75d900f
3
ui/jquery.ui.selectable.js
vendored
3
ui/jquery.ui.selectable.js
vendored
@ -62,6 +62,9 @@ $.widget("ui.selectable", $.ui.mouse, {
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
this.selectees
|
||||
.removeClass("ui-selectee")
|
||||
.removeData("selectable-item");
|
||||
this.element
|
||||
.removeClass("ui-selectable ui-selectable-disabled")
|
||||
.removeData("selectable")
|
||||
|
Loading…
Reference in New Issue
Block a user