diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-05-24 15:18:04 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-05-24 15:18:04 -0400 |
commit | 446d8b7f4cbf132252b972d744aa8be46d04d2bc (patch) | |
tree | b6398e2f0bc5f541bc2c0fd8f91ddce8d0c12cbc /ui | |
parent | ae3d3515a7489ae4abd9a10b14db97dc1d7b9476 (diff) | |
download | jquery-ui-446d8b7f4cbf132252b972d744aa8be46d04d2bc.tar.gz jquery-ui-446d8b7f4cbf132252b972d744aa8be46d04d2bc.zip |
Selectable: Fixed destroy method.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.selectable.js | 8 |
1 files changed, 2 insertions, 6 deletions
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 = $("<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) { |