Element wird entfernt
This commit is contained in:
1 parent
e579044ed5
commit
18daded2c2
1 file changed
+4
@@ -6,3 +6,7 @@ export function addList(listAsJSON) {
|
||||
const listElement = ShoppingList.fromJSON(listAsJSON);
|
||||
list.append(listElement.render());
|
||||
}
|
||||
|
||||
export function deleteList(listElement) {
|
||||
listElement.remove();
|
||||
}
|
||||
Reference in new issue
Block a user