diff --git a/src/angular-sortable-view.js b/src/angular-sortable-view.js index 05694f0..67cfd36 100644 --- a/src/angular-sortable-view.js +++ b/src/angular-sortable-view.js @@ -468,7 +468,7 @@ function onMousemove(e){ touchFix(e); if(!moveExecuted){ - $element.parent().prepend(clone); + body.prepend(clone); moveExecuted = true; } $controllers[1].$moveUpdate(opts, {