diff options
author | Richard Worth <rdworth@gmail.com> | 2008-06-18 11:10:39 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-06-18 11:10:39 +0000 |
commit | de4266422e897a399fc6c9312c55d75ad3ea1bf4 (patch) | |
tree | 44e24df05e5e13739da3019214c3a285ec633a12 | |
parent | 5483ab96e39c9f0073a7765f7b44e9ddce0e8219 (diff) | |
download | jquery-ui-de4266422e897a399fc6c9312c55d75ad3ea1bf4.tar.gz jquery-ui-de4266422e897a399fc6c9312c55d75ad3ea1bf4.zip |
Fixed #3016 - Distance option default
-rw-r--r-- | ui/ui.draggable.js | 2 | ||||
-rw-r--r-- | ui/ui.resizable.js | 2 | ||||
-rw-r--r-- | ui/ui.selectable.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js index 4cd76444c..8436a96a6 100644 --- a/ui/ui.draggable.js +++ b/ui/ui.draggable.js @@ -267,7 +267,7 @@ $.extend($.ui.draggable, { axis: false, cancel: ":input,button", delay: 0, - distance: 0, + distance: 1, helper: "original" } }); diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js index cda5fda50..189e969cd 100644 --- a/ui/ui.resizable.js +++ b/ui/ui.resizable.js @@ -500,7 +500,7 @@ $.widget("ui.resizable", $.extend($.ui.mouse, { $.extend($.ui.resizable, { defaults: { cancel: ":input,button", - distance: 0, + distance: 1, delay: 0, preventDefault: true, transparent: false, diff --git a/ui/ui.selectable.js b/ui/ui.selectable.js index fb4bfc976..57ea405a8 100644 --- a/ui/ui.selectable.js +++ b/ui/ui.selectable.js @@ -251,7 +251,7 @@ $.widget("ui.selectable", $.extend($.ui.mouse, { $.extend($.ui.selectable, { defaults: { - distance: 0, + distance: 1, delay: 0, cancel: ":input,button", appendTo: 'body', |