This commit is contained in:
Technoir committed 2026-10-13 22:26:39 +02:00
1 parent 2d967fd5ad
commit facf5a63d0
1 file changed
+1 -1
@@ -49,7 +49,7 @@ async function editItem(shoppingItem, id) {
//erstellen das Forms
const formElement = ui.createEditItemForm(shoppingItem.querySelector(".item__itemName").textContent, shoppingItem.querySelector(".item__itemAmount").textContent);
textElement.replaceWith(formElement);
shoppingItem.replaceWith(formElement);
formElement.querySelector(".editForm__name").focus();