diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-11-10 06:39:52 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-11-10 06:39:52 +0000 |
commit | 2ab2f3c7e10ffd109f8b2409ace6adcbd5cbcb61 (patch) | |
tree | 7c597c1f3e083dbb2f3b6d4194a892532d3e1009 /ui/ui.draggable.js | |
parent | ad0cdb776e61c4855e87a0f7a1e49ca6cde3a8d6 (diff) | |
download | jquery-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.js | 2 |
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) { |