diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/droppable.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/droppable.js b/ui/droppable.js index fce8d9bd9..e889d89cd 100644 --- a/ui/droppable.js +++ b/ui/droppable.js @@ -235,8 +235,8 @@ $.ui.intersect = (function() { return false; } - var x1 = ( draggable.positionAbs || draggable.position.absolute ).left, - y1 = ( draggable.positionAbs || draggable.position.absolute ).top, + var x1 = ( draggable.positionAbs || draggable.position.absolute ).left + draggable.margins.left, + y1 = ( draggable.positionAbs || draggable.position.absolute ).top + draggable.margins.top, x2 = x1 + draggable.helperProportions.width, y2 = y1 + draggable.helperProportions.height, l = droppable.offset.left, |