diff --git a/app.js b/app.js index 68ffd6d..8a76bd4 100644 --- a/app.js +++ b/app.js @@ -14,7 +14,7 @@ for (li of lis) { }) li.addEventListener('drop', (event)=>{ event.target.classList.remove('dragging'); - event.target.children[0].appendChild(currentDraggedItem) + event.target.children[1].appendChild(currentDraggedItem) }) }