From d8c5448bc53df9686998aa9badd7d94a22337831 Mon Sep 17 00:00:00 2001 From: Greg Date: Sat, 10 May 2025 11:45:10 +0200 Subject: [PATCH] feat: implement attendance tracking UI with dynamic table rendering and data persistence --- static/app.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/static/app.js b/static/app.js index b5a104a..05d7465 100644 --- a/static/app.js +++ b/static/app.js @@ -25,15 +25,7 @@ function renderTable() { headRow.appendChild(document.createElement('th')).innerText = 'Date'; data.players.forEach((name, i) => { const th = document.createElement('th'); - const input = document.createElement('input'); - input.type = 'text'; - input.value = name; - input.onchange = e => { - data.players[i] = e.target.value; - saveData(); - renderTable(); - }; - th.appendChild(input); + th.innerText = name; headRow.appendChild(th); }); // Guest column