Skip to content
Permalink
Browse files

Core: Avoid conflict with droppable $.ui.instersect method. Core chan…

…ged name to $.ui.intersects.
  • Loading branch information...
eduardolundgren committed Nov 10, 2008
1 parent 836e71f commit f00347a83a47aca39cca94fce3be9e7d8b5e33c0
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.core.js
@@ -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);
}

0 comments on commit f00347a

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