aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.sortable.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.sortable.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.sortable.js')
-rw-r--r--ui/ui.sortable.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js
index c8fbad184..b92e20166 100644
--- a/ui/ui.sortable.js
+++ b/ui/ui.sortable.js
@@ -160,8 +160,8 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
var itemHeight = item.height, itemWidth = item.width;
var itemTop = item.top, itemLeft = item.left;
- var isOverElementHeight = $.ui.intersectHeight(helperTop + dyClick, itemTop, itemHeight);
- var isOverElementWidth = $.ui.intersectWidth(helperLeft + dxClick, itemLeft, itemWidth);
+ var isOverElementHeight = $.ui.isOverHeight(helperTop + dyClick, itemTop, itemHeight);
+ var isOverElementWidth = $.ui.isOverWidth(helperLeft + dxClick, itemLeft, itemWidth);
var isOverElement = isOverElementHeight && isOverElementWidth;
var verticalDirection = this._getDragVerticalDirection();
var horizontalDirection = this._getDragHorizontalDirection();