Skip to content
Permalink
Browse files

Draggable: Avoid conflict with droppable $.ui.intersect. Now using $.…

…ui.intersects.
  • Loading branch information...
eduardolundgren committed Nov 10, 2008
1 parent f00347a commit ad0cdb776e61c4855e87a0f7a1e49ca6cde3a8d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) {

0 comments on commit ad0cdb7

Please sign in to comment.
You can’t perform that action at this time.