query geändert

This commit is contained in:
Technoir committed 2026-10-13 22:04:49 +02:00
1 parent 1c74a56586
commit 97f2d91323
1 file changed
+1 -1
@@ -2,7 +2,7 @@ export * from "./itemUI.js";
export * from "./categoryUI.js";
export function deleteAllDoneItems() {
const doneItems = document.querySelectorAll("li.item:has(input[type=checkbox]:checked)");
const doneItems = document.querySelectorAll("li.item:has(shopping-item[is-checked=true])");
doneItems.forEach((li) => {
li.remove();
})