Draggable: Removed unnecessary setting of this.positionAbs in _trigger.

This commit is contained in:
Scott González
2009-01-13 02:13:58 +00:00
parent 877f03b853
commit 99840f323e

View File

@@ -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;
},