Fix duplicate const btnClear JS error that broke all UI handlers

This commit is contained in:
ariel s
2026-04-25 19:35:04 +03:00
parent 4224d1baa3
commit ac62a48bc9

1
app.py
View File

@@ -1236,7 +1236,6 @@ btnAuto.addEventListener('click', async () => {
btnAuto.disabled = false;
});
const btnClear = $('btnClear');
btnClear.addEventListener('click', async () => {
if (!confirm('Delete ALL captures from this computer AND the GoPro SD card?')) return;
btnClear.disabled = true;