Update app.js

This commit is contained in:
Justin 2022-06-11 13:41:16 +08:00 committed by GitHub
parent fc6b010e45
commit aa469eb9ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1605,3 +1605,24 @@ function togglePass() {
x.type = "password";
}
}
// Show messages when updating ticker / joining wifi network
function showDiv() {
document.getElementById('update-message').style.display = "block";
setTimeout(function showDiv(){
document.getElementById('update-message').style.display = "none";
}, 30000);
}
function showDivTwo() {
document.getElementById('wifi-message').style.display = "block";
setTimeout(function showDivTwo(){
document.getElementById('wifi-message').style.display = "none";
}, 30000);
}