aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}