abort Funktion aus list.js ausgelagert
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user