aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.draggable.js
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2008-11-10 06:39:52 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2008-11-10 06:39:52 +0000
commit2ab2f3c7e10ffd109f8b2409ace6adcbd5cbcb61 (patch)
tree7c597c1f3e083dbb2f3b6d4194a892532d3e1009 /ui/ui.draggable.js
parentad0cdb776e61c4855e87a0f7a1e49ca6cde3a8d6 (diff)
downloadjquery-ui-2ab2f3c7e10ffd109f8b2409ace6adcbd5cbcb61.tar.gz
jquery-ui-2ab2f3c7e10ffd109f8b2409ace6adcbd5cbcb61.zip
Change name of intersect methods to isOverHeight/isOverWidth/isOver.
Diffstat (limited to 'ui/ui.draggable.js')
-rw-r--r--ui/ui.draggable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index 551550ed4..98934fdf2 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -606,7 +606,7 @@ $.ui.plugin.add("draggable", "connectToSortable", {
var itemHeight = o.height, itemWidth = o.width;
var itemTop = o.top, itemLeft = o.left;
- return $.ui.intersects(helperTop + dyClick, helperLeft + dxClick, itemTop, itemLeft, itemHeight, itemWidth);
+ return $.ui.isOver(helperTop + dyClick, helperLeft + dxClick, itemTop, itemLeft, itemHeight, itemWidth);
};
$.each(inst.sortables, function(i) {