Skip to content

Commit cdcb391

Browse files
committed
Draggable: Fix whitespace in trigger function
1 parent 01e26b0 commit cdcb391

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

ui/draggable.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -610,14 +610,15 @@ $.widget("ui.draggable", $.ui.mouse, {
610610

611611
// From now on bulk stuff - mainly helpers
612612

613-
_trigger: function(type, event, ui) {
613+
_trigger: function( type, event, ui ) {
614614
ui = ui || this._uiHash();
615615
$.ui.plugin.call( this, type, [ event, ui, this ], true );
616-
//The absolute position has to be recalculated after plugins
617-
if (type === "drag") {
618-
this.positionAbs = this._convertPositionTo("absolute");
616+
617+
// The absolute position has to be recalculated after plugins
618+
if ( type === "drag" ) {
619+
this.positionAbs = this._convertPositionTo( "absolute" );
619620
}
620-
return $.Widget.prototype._trigger.call(this, type, event, ui);
621+
return $.Widget.prototype._trigger.call( this, type, event, ui );
621622
},
622623

623624
plugins: {},

0 commit comments

Comments
 (0)