]> source.dussan.org Git - jquery-ui.git/commitdiff
Draggable: Removed unnecessary setting of this.positionAbs in _trigger.
authorScott González <scott.gonzalez@gmail.com>
Tue, 13 Jan 2009 02:13:58 +0000 (02:13 +0000)
committerScott González <scott.gonzalez@gmail.com>
Tue, 13 Jan 2009 02:13:58 +0000 (02:13 +0000)
ui/ui.draggable.js

index cbc6865759fbee3d548d1222f1dc52ec0211f242..7aec8f964ff415c83a31bc9c0ccea00930f37285 100644 (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;
        },