diff --git a/source/js/jquery-sortable.js b/source/js/jquery-sortable.js index 52c2432..5914b97 100644 --- a/source/js/jquery-sortable.js +++ b/source/js/jquery-sortable.js @@ -94,8 +94,8 @@ // Therefore it might not be the container, that actually contains the item. onDragStart: function ($item, container, _super, event) { $item.css({ - height: $item.height(), - width: $item.width() + height: $item.outerHeight(), + width: $item.outerWidth() }) $item.addClass(container.group.options.draggedClass) $("body").addClass(container.group.options.bodyClass)