Fix duplicate const btnClear JS error that broke all UI handlers
This commit is contained in:
1
app.py
1
app.py
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user