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;