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:
@@ -3894,6 +3894,7 @@ function startMasterTimer(){
|
|||||||
keyboardClosePending=true;
|
keyboardClosePending=true;
|
||||||
closeHTMLKeyboard();
|
closeHTMLKeyboard();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 1.5. LOCKOUT TIMER CHECK
|
// 1.5. LOCKOUT TIMER CHECK
|
||||||
checkLockoutTimer();
|
checkLockoutTimer();
|
||||||
@@ -3907,8 +3908,6 @@ function startMasterTimer(){
|
|||||||
showLockoutScreen();
|
showLockoutScreen();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 2. MEDIA CHECK
|
// 2. MEDIA CHECK
|
||||||
if(now-lastMediaCheck>MEDIA_CHECK_INTERVAL){
|
if(now-lastMediaCheck>MEDIA_CHECK_INTERVAL){
|
||||||
@@ -5599,7 +5598,6 @@ window.addEventListener('DOMContentLoaded',()=>{
|
|||||||
if(!keyboardButtonEnabled)return;
|
if(!keyboardButtonEnabled)return;
|
||||||
if(!keyboardIcon)createKeyboardIcon();
|
if(!keyboardIcon)createKeyboardIcon();
|
||||||
if(keyboardIcon)keyboardIcon.style.display='flex';
|
if(keyboardIcon)keyboardIcon.style.display='flex';
|
||||||
keyboardIcon.style.display='flex';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function hideKeyboardIcon(){
|
function hideKeyboardIcon(){
|
||||||
|
|||||||
Reference in New Issue
Block a user