From f00347a83a47aca39cca94fce3be9e7d8b5e33c0 Mon Sep 17 00:00:00 2001 From: Eduardo Lundgren Date: Mon, 10 Nov 2008 05:55:04 +0000 Subject: Core: Avoid conflict with droppable $.ui.instersect method. Core changed name to $.ui.intersects. --- ui/ui.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ui.core.js b/ui/ui.core.js index 3f5ea2a10..3420d48b4 100644 --- a/ui/ui.core.js +++ b/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); } -- cgit v1.2.3