mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Draggable: Avoid conflict with droppable $.ui.intersect. Now using $.ui.intersects.
This commit is contained in:
parent
f00347a83a
commit
ad0cdb776e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user