aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.sortable.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-02-25 04:15:48 +0000
committerScott González <scott.gonzalez@gmail.com>2009-02-25 04:15:48 +0000
commit47cdc542e8be3a397ae596d603b90926e158f7b1 (patch)
tree81ebbf49737299377756963603da87ab8e3a190b /ui/ui.sortable.js
parent94c62b2ab0a76ec2c5ec363a8270ad806b050920 (diff)
downloadjquery-ui-47cdc542e8be3a397ae596d603b90926e158f7b1.tar.gz
jquery-ui-47cdc542e8be3a397ae596d603b90926e158f7b1.zip
Sortable: Removed accurateIntersection option (Fixes #4225).
Diffstat (limited to 'ui/ui.sortable.js')
-rw-r--r--ui/ui.sortable.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js
index 91560c74e..23710b4a9 100644
--- a/ui/ui.sortable.js
+++ b/ui/ui.sortable.js
@@ -574,14 +574,8 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
var t = this.options.toleranceElement ? $(this.options.toleranceElement, item.item) : item.item;
if (!fast) {
- if (this.options.accurateIntersection) {
- item.width = t.outerWidth();
- item.height = t.outerHeight();
- }
- else {
- item.width = t[0].offsetWidth;
- item.height = t[0].offsetHeight;
- }
+ item.width = t.outerWidth();
+ item.height = t.outerHeight();
}
var p = t.offset();
@@ -994,7 +988,6 @@ $.extend($.ui.sortable, {
version: "@VERSION",
eventPrefix: "sort",
defaults: {
- accurateIntersection: true,
appendTo: "parent",
axis: false,
cancel: ":input,option",