Skip to content
Permalink
Browse files

Selectable: Fixed destroy method.

  • Loading branch information
scottgonzalez committed May 24, 2012
1 parent ae3d351 commit 446d8b7f4cbf132252b972d744aa8be46d04d2bc
Showing with 2 additions and 6 deletions.
  1. +2 −6 ui/jquery.ui.selectable.js
@@ -61,17 +61,13 @@ $.widget("ui.selectable", $.ui.mouse, {
this.helper = $("<div class='ui-selectable-helper'></div>");
},

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) {

0 comments on commit 446d8b7

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