From aa469eb9ef75a4d9c01de7ef85e65b0f87ca6aa7 Mon Sep 17 00:00:00 2001 From: Justin Date: Sat, 11 Jun 2022 13:41:16 +0800 Subject: [PATCH] Update app.js --- static/app.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/static/app.js b/static/app.js index 3c542a4..b0e88c4 100755 --- a/static/app.js +++ b/static/app.js @@ -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); +}