aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2008-11-10 05:55:04 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2008-11-10 05:55:04 +0000
commitf00347a83a47aca39cca94fce3be9e7d8b5e33c0 (patch)
treeafec297ad7805f647a28bb980231a5f6e2fef3eb
parent836e71f88000005283c5b5dea12a16698af7ef38 (diff)
downloadjquery-ui-f00347a83a47aca39cca94fce3be9e7d8b5e33c0.tar.gz
jquery-ui-f00347a83a47aca39cca94fce3be9e7d8b5e33c0.zip
Core: Avoid conflict with droppable $.ui.instersect method. Core changed name to $.ui.intersects.
-rw-r--r--ui/ui.core.js2
1 files changed, 1 insertions, 1 deletions
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);
}