diff --git a/ui/jquery.ui.selectable.js b/ui/jquery.ui.selectable.js index f8a0134f8..2db9a8886 100644 --- a/ui/jquery.ui.selectable.js +++ b/ui/jquery.ui.selectable.js @@ -61,17 +61,13 @@ $.widget("ui.selectable", $.ui.mouse, { this.helper = $("
"); }, - destroy: function() { + _destroy: function() { this.selectees .removeClass("ui-selectee") .removeData("selectable-item"); this.element - .removeClass("ui-selectable ui-selectable-disabled") - .removeData("selectable") - .unbind(".selectable"); + .removeClass("ui-selectable ui-selectable-disabled"); this._mouseDestroy(); - - return this; }, _mouseStart: function(event) {