Skip to content

Commit

Permalink
Draggable: Removed unnecessary setting of this.positionAbs in _trigger.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Jan 13, 2009
1 parent 877f03b commit 99840f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ui/ui.draggable.js
Expand Up @@ -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;
},
Expand Down

0 comments on commit 99840f3

Please sign in to comment.