Skip to content
Permalink
Browse files

Draggable: Fix whitespace in trigger function

  • Loading branch information...
mikesherov committed Aug 17, 2014
1 parent 01e26b0 commit cdcb391f4e33de24df8ff5ce17aeea42f3835dc0
Showing with 6 additions and 5 deletions.
  1. +6 −5 ui/draggable.js
@@ -610,14 +610,15 @@ $.widget("ui.draggable", $.ui.mouse, {

// From now on bulk stuff - mainly helpers

_trigger: function(type, event, ui) {
_trigger: function( type, event, ui ) {
ui = ui || this._uiHash();
$.ui.plugin.call( this, type, [ event, ui, this ], true );
//The absolute position has to be recalculated after plugins
if (type === "drag") {
this.positionAbs = this._convertPositionTo("absolute");

// The absolute position has to be recalculated after plugins
if ( type === "drag" ) {
this.positionAbs = this._convertPositionTo( "absolute" );
}
return $.Widget.prototype._trigger.call(this, type, event, ui);
return $.Widget.prototype._trigger.call( this, type, event, ui );
},

plugins: {},

0 comments on commit cdcb391

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