mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Core: Avoid conflict with droppable $.ui.instersect method. Core changed name to $.ui.intersects.
This commit is contained in:
parent
836e71f880
commit
f00347a83a
@ -116,7 +116,7 @@ $.ui = {
|
||||
return (aLeft > bLeft) && (aLeft < (bLeft + bWidth));
|
||||
},
|
||||
|
||||
intersect: function(aTop, aLeft, bTop, bLeft, bHeight, bWidth) {
|
||||
intersects: function(aTop, aLeft, bTop, bLeft, bHeight, bWidth) {
|
||||
//Determines when element "a" coordinates intersects with element "b"
|
||||
return $.ui.intersectHeight(aTop, bTop, bHeight) && $.ui.intersectWidth(aLeft, bLeft, bWidth);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user