Skip to content

Commit

Permalink
Draggable: Avoid conflict with droppable $.ui.intersect. Now using $.…
Browse files Browse the repository at this point in the history
…ui.intersects.
  • Loading branch information
eduardolundgren committed Nov 10, 2008
1 parent f00347a commit ad0cdb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/ui.draggable.js
Expand Up @@ -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) {
Expand Down

0 comments on commit ad0cdb7

Please sign in to comment.