mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Draggable: Removed absolutePosition from ui hash. Fixes #3990 - Remove absolutePosition from ui hash.
This commit is contained in:
parent
ceb661f959
commit
292d9df1ce
@ -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;
|
||||
|
@ -394,7 +394,6 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, {
|
||||
return {
|
||||
helper: this.helper,
|
||||
position: this.position,
|
||||
absolutePosition: this.positionAbs, //deprecated
|
||||
offset: this.positionAbs
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user