diff --git a/ui/widgets/draggable.js b/ui/widgets/draggable.js index 0307fb8e83..6934222931 100644 --- a/ui/widgets/draggable.js +++ b/ui/widgets/draggable.js @@ -208,15 +208,15 @@ $.widget( "ui.draggable", $.ui.mouse, { this._adjustOffsetFromHelper( o.cursorAt ); } - //Set a containment if given in the options - this._setContainment(); - //Trigger event + callbacks if ( this._trigger( "start", event ) === false ) { this._clear(); return false; } + //Set a containment if given in the options + this._setContainment(); + //Recache the helper size this._cacheHelperProportions();