This commit is contained in:
parent
38d3381ecd
commit
1f5b4163e7
@ -98,7 +98,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function updateDeleteButtonState() {
|
function updateDeleteButtonState() {
|
||||||
const selectedRows = document.querySelectorAll('#nutrition-table .selected').length;
|
const selectedRows = document.querySelectorAll('#nutrition-table.selected').length;
|
||||||
const deleteButton = document.getElementById('delete-row-button');
|
const deleteButton = document.getElementById('delete-row-button');
|
||||||
deleteButton.disabled = selectedRows === 0;
|
deleteButton.disabled = selectedRows === 0;
|
||||||
if (selectedRows === 0) {
|
if (selectedRows === 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user