\r
this.dragging = true;\r
\r
- //this.mouseDrag(e); //Execute the drag once - this causes the helper not to be visible before getting its correct position\r
+ this.mouseDrag(e); //Execute the drag once - this causes the helper not to be visible before getting its correct position\r
return true;\r
\r
\r
rearrange: function(e, i, a) {\r
a ? a.append(this.currentItem) : i.item[this.direction == 'down' ? 'before' : 'after'](this.currentItem);\r
this.refreshPositions(true); //Precompute after each DOM insertion, NOT on mousemove\r
- this.options.placeholder.update.call(this.element, this.currentItem, this.placeholder);\r
+ if(this.options.placeholder) this.options.placeholder.update.call(this.element, this.currentItem, this.placeholder);\r
}\r
}));\r
\r