From 2ade9c974453d6a9c84131037f674a25e08720ce Mon Sep 17 00:00:00 2001 From: Tim Aldinger Date: Wed, 7 Oct 2026 15:13:22 +0200 Subject: [PATCH] checkboxen der erstellten items im frontend haben auch item__markAsDone klasse --- src/main/resources/static/js/list/ShoppingItem.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/static/js/list/ShoppingItem.js b/src/main/resources/static/js/list/ShoppingItem.js index b0aa38b..6d2d75f 100644 --- a/src/main/resources/static/js/list/ShoppingItem.js +++ b/src/main/resources/static/js/list/ShoppingItem.js @@ -27,6 +27,7 @@ export class ShoppingItem { checkboxDone.setAttribute("type", "checkbox"); checkboxDone.setAttribute("autocomplete", "off"); + checkboxDone.classList.add("item__markAsDone"); span.textContent = this.itemName + " " + this.itemAmount;