aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-11-21 04:05:27 +0000
committerRichard Worth <rdworth@gmail.com>2008-11-21 04:05:27 +0000
commit64f6baeaf47bc41ce18b36d97d49a14d5293dbc8 (patch)
tree2d13e31cf04a48b3143285dc0c28d97e9b4e75a8 /ui
parent47f8e9042fbe4d48c1cf9579beba5f4fc2966149 (diff)
downloadjquery-ui-64f6baeaf47bc41ce18b36d97d49a14d5293dbc8.tar.gz
jquery-ui-64f6baeaf47bc41ce18b36d97d49a14d5293dbc8.zip
selectable: removed toggle method as widget factory provides enable/disable methods.
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.selectable.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/ui.selectable.js b/ui/ui.selectable.js
index 6c20692e8..2a2583c0c 100644
--- a/ui/ui.selectable.js
+++ b/ui/ui.selectable.js
@@ -246,14 +246,6 @@ $.widget("ui.selectable", $.extend({}, $.ui.mouse, {
this.helper.remove();
return false;
- },
-
- toggle: function() {
- if(this.options.disabled){
- this.enable();
- } else {
- this.disable();
- }
}
}));