abort Funktion aus list.js ausgelagert

This commit is contained in:
Technoir committed 2026-10-14 15:48:46 +02:00
1 parent 4622e91f26
commit 76a4b201b8
1 file changed
+5
@@ -1,3 +1,4 @@
export * from "./itemUI.js";
export * from "./categoryUI.js";
@@ -7,3 +8,7 @@ export function deleteAllDoneItems() {
li.remove();
})
}
export function abort(formElement, oldElement) {
formElement.replaceWith(oldElement);
}