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
This commit is contained in:
Claude
2025-11-20 17:43:57 +00:00
parent 90c22fa1b1
commit 26421930ab
+2 -4
View File
@@ -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(){