diff options
author | Richard Worth <rdworth@gmail.com> | 2010-01-24 20:47:06 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2010-01-24 20:47:06 +0000 |
commit | f7c75d900f42a3479af0ed52d8f393e4028210e0 (patch) | |
tree | 849ee28a9bd730a1255caf1b54422a7b7ac2cc8d /ui/jquery.ui.selectable.js | |
parent | 93ed6d5a0cab30d20a272c02528f6e829ef1e7d8 (diff) | |
download | jquery-ui-f7c75d900f42a3479af0ed52d8f393e4028210e0.tar.gz jquery-ui-f7c75d900f42a3479af0ed52d8f393e4028210e0.zip |
fixed #5094 - selectable: destroy method doesn't clean up selectees
Diffstat (limited to 'ui/jquery.ui.selectable.js')
-rw-r--r-- | ui/jquery.ui.selectable.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/jquery.ui.selectable.js b/ui/jquery.ui.selectable.js index 4e19e5993..a14f720b7 100644 --- a/ui/jquery.ui.selectable.js +++ b/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") |