Skip to content
Permalink
Browse files

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

  • Loading branch information
scottgonzalez committed Jan 13, 2009
1 parent 877f03b commit 99840f323e8fbd56378ad137185b076fe77fe257
Showing with 0 additions and 1 deletion.
  1. +0 −1 ui/ui.draggable.js
@@ -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;
},

0 comments on commit 99840f3

Please sign in to comment.
You can’t perform that action at this time.