From 5e4ab261a780eb7f47969fe7770bce7d9ae835c7 Mon Sep 17 00:00:00 2001 From: moerp Date: Thu, 4 Apr 2024 13:41:43 +0200 Subject: [PATCH] change --- src/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/index.html b/src/templates/index.html index 9892f71..0b039c2 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -144,7 +144,7 @@ function updateRowWithNewData(row, weight, nutritionData) { entries = entries.filter(entry => entry.food !== rowData.food || parseFloat(entry.weight) !== weightToCompare); localStorage.setItem('nutritionEntries', JSON.stringify(entries)); } - + function updateRemoveButtonState() { const selectedRows = document.querySelectorAll('#nutrition-table .selected').length;