Skip to content
Permalink
Browse files

fixed #5094 - selectable: destroy method doesn't clean up selectees

  • Loading branch information
rdworth committed Jan 24, 2010
1 parent 93ed6d5 commit f7c75d900f42a3479af0ed52d8f393e4028210e0
Showing with 3 additions and 0 deletions.
  1. +3 −0 ui/jquery.ui.selectable.js
@@ -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")

0 comments on commit f7c75d9

Please sign in to comment.
You can’t perform that action at this time.