diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-06-09 00:46:00 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-06-09 00:46:00 +0000 |
commit | 8634ba993ceec7c9bbd34b6e0e2a666494b385a4 (patch) | |
tree | 5033d6ec9e3b0bf57821b337b5d7a87b3e705936 /ui/ui.selectable.js | |
parent | ce94b548d012b74862d35c80a235ecaa31717dc8 (diff) | |
download | jquery-ui-8634ba993ceec7c9bbd34b6e0e2a666494b385a4.tar.gz jquery-ui-8634ba993ceec7c9bbd34b6e0e2a666494b385a4.zip |
All mouse-based plugins: Extend $.ui.mouse.defaults. Changed $.ui.mouse.defaults.cancel to ":input,option" which is used by every plugin as its default. Fixes #4584 ($.ui.mouse.defaults never used).
Diffstat (limited to 'ui/ui.selectable.js')
-rw-r--r-- | ui/ui.selectable.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/ui.selectable.js b/ui/ui.selectable.js index 93d0c8ca8..635f12602 100644 --- a/ui/ui.selectable.js +++ b/ui/ui.selectable.js @@ -245,15 +245,13 @@ $.widget("ui.selectable", $.extend({}, $.ui.mouse, { $.extend($.ui.selectable, { version: "@VERSION", - defaults: { + defaults: $.extend({}, $.ui.mouse.defaults, { appendTo: 'body', autoRefresh: true, - cancel: ":input,option", - delay: 0, distance: 0, filter: '*', tolerance: 'touch' - } + }) }); })(jQuery); |