aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.draggable.js
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-02-03 03:02:30 +0000
committerRichard Worth <rdworth@gmail.com>2009-02-03 03:02:30 +0000
commit8bc22ea6f30d489a47d8aaf07492be28a9a5ee55 (patch)
tree9aec05e6fe719c58c21e215d1558f74cb0936201 /ui/ui.draggable.js
parent1c2f51f571b742d33501d5472ca505a00edd2168 (diff)
downloadjquery-ui-8bc22ea6f30d489a47d8aaf07492be28a9a5ee55.tar.gz
jquery-ui-8bc22ea6f30d489a47d8aaf07492be28a9a5ee55.zip
draggable: missed internal use of ui.absolutePosition
Diffstat (limited to 'ui/ui.draggable.js')
-rw-r--r--ui/ui.draggable.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index 58c000eae..3ffb86b46 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -673,8 +673,8 @@ $.ui.plugin.add("draggable", "snap", {
var inst = $(this).data("draggable"), o = inst.options;
var d = o.snapTolerance;
- var x1 = ui.absolutePosition.left, x2 = x1 + inst.helperProportions.width,
- y1 = ui.absolutePosition.top, y2 = y1 + inst.helperProportions.height;
+ var x1 = ui.offset.left, x2 = x1 + inst.helperProportions.width,
+ y1 = ui.offset.top, y2 = y1 + inst.helperProportions.height;
for (var i = inst.snapElements.length - 1; i >= 0; i--){