From 26421930abb7df1199faedead5fdb74e13ae58b5 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 20 Nov 2025 17:43:57 +0000 Subject: [PATCH] Fix JavaScript syntax errors in main.js - Fixed missing closing brace in keyboard auto-close section - Removed duplicate line in showKeyboardIcon function - Corrects SyntaxError: missing ) after argument list at line 441 --- install_kiosk_0.9.4.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install_kiosk_0.9.4.sh b/install_kiosk_0.9.4.sh index 317cfe7..20ae8db 100755 --- a/install_kiosk_0.9.4.sh +++ b/install_kiosk_0.9.4.sh @@ -3893,6 +3893,7 @@ function startMasterTimer(){ if(idleTime>KEYBOARD_AUTO_CLOSE){ keyboardClosePending=true; closeHTMLKeyboard(); + } } // 1.5. LOCKOUT TIMER CHECK @@ -3907,9 +3908,7 @@ function startMasterTimer(){ showLockoutScreen(); } } - } - } - + // 2. MEDIA CHECK if(now-lastMediaCheck>MEDIA_CHECK_INTERVAL){ checkMediaPlayback(); @@ -5599,7 +5598,6 @@ window.addEventListener('DOMContentLoaded',()=>{ if(!keyboardButtonEnabled)return; if(!keyboardIcon)createKeyboardIcon(); if(keyboardIcon)keyboardIcon.style.display='flex'; - keyboardIcon.style.display='flex'; } function hideKeyboardIcon(){