fix: missing quotes around kiosk-mode string caused ReferenceError breaking all buttons

This commit is contained in:
2026-06-21 04:59:21 +00:00
parent f1d73e7b6a
commit aa88a2f73b
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ function showApp(name, greeting, silent = false) {
}
}, 30000);
setInterval(() => {
if (voiceMode && !document.body.classList.contains(kiosk-mode) && voiceLastCmd > 0 && Date.now() - voiceLastCmd > VOICE_SLEEP_MS) {
if (voiceMode && !document.body.classList.contains("kiosk-mode") && voiceLastCmd > 0 && Date.now() - voiceLastCmd > VOICE_SLEEP_MS) {
exitVoiceMode();
}
}, 60000);