mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-02-03 13:15:10 -05:00
Draggable: Removed unnecessary setting of this.positionAbs in _trigger.
This commit is contained in:
@@ -370,7 +370,6 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, {
|
||||
|
||||
_trigger: function(type, event) {
|
||||
$.ui.plugin.call(this, type, [event, this._uiHash()]);
|
||||
if(type == "drag") this.positionAbs = this._convertPositionTo("absolute"); //The absolute position has to be recalculated after plugins
|
||||
$.widget.prototype._trigger.call(this, type, event, this._uiHash());
|
||||
return event.returnValue;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user