aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.draggable.js
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2008-11-10 05:56:06 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2008-11-10 05:56:06 +0000
commitad0cdb776e61c4855e87a0f7a1e49ca6cde3a8d6 (patch)
tree87cec10fe0bc029e8f79e4535a220e99e771c3ad /ui/ui.draggable.js
parentf00347a83a47aca39cca94fce3be9e7d8b5e33c0 (diff)
downloadjquery-ui-ad0cdb776e61c4855e87a0f7a1e49ca6cde3a8d6.tar.gz
jquery-ui-ad0cdb776e61c4855e87a0f7a1e49ca6cde3a8d6.zip
Draggable: Avoid conflict with droppable $.ui.intersect. Now using $.ui.intersects.
Diffstat (limited to 'ui/ui.draggable.js')
-rw-r--r--ui/ui.draggable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index 5d27c0797..551550ed4 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -606,7 +606,7 @@ $.ui.plugin.add("draggable", "connectToSortable", {
var itemHeight = o.height, itemWidth = o.width;
var itemTop = o.top, itemLeft = o.left;
- return $.ui.intersect(helperTop + dyClick, helperLeft + dxClick, itemTop, itemLeft, itemHeight, itemWidth);
+ return $.ui.intersects(helperTop + dyClick, helperLeft + dxClick, itemTop, itemLeft, itemHeight, itemWidth);
};
$.each(inst.sortables, function(i) {