Permalink
Browse files
Selectable: Fixed destroy method.
- Loading branch information
Showing
with
2 additions
and
6 deletions.
-
+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