diff options
Diffstat (limited to 'tests/unit/draggable/draggable_options.js')
-rw-r--r-- | tests/unit/draggable/draggable_options.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/draggable/draggable_options.js b/tests/unit/draggable/draggable_options.js index 9fc4f4de2..4162d0388 100644 --- a/tests/unit/draggable/draggable_options.js +++ b/tests/unit/draggable/draggable_options.js @@ -250,7 +250,7 @@ test("{ cursorAt: { left: -5, top: -5 } }", function() { $("#draggable2").draggable({ cursorAt: { left: cax, top: cay }, drag: function(event, ui) { - actual = ui.absolutePosition; + actual = ui.offset; } }); var el = $("#draggable2").data("draggable").element; @@ -274,7 +274,7 @@ test("{ cursorAt: { left: -5, top: -5 } }", function() { $("#draggable1").draggable({ cursorAt: { left: cax, top: cay }, drag: function(event, ui) { - actual = ui.absolutePosition; + actual = ui.offset; } }); var el = $("#draggable2").data("draggable").element; |