diff options
author | sijanec <anton@sijanec.eu> | 2021-03-25 18:27:02 +0100 |
---|---|---|
committer | sijanec <anton@sijanec.eu> | 2021-03-25 18:27:02 +0100 |
commit | 80550d8cad189982bf607549b6b5d3977602b91b (patch) | |
tree | d22e3ded17797b369e1312cef2ff0697a93971e9 /assets | |
parent | added not supported text (diff) | |
download | beziapp-80550d8cad189982bf607549b6b5d3977602b91b.tar beziapp-80550d8cad189982bf607549b6b5d3977602b91b.tar.gz beziapp-80550d8cad189982bf607549b6b5d3977602b91b.tar.bz2 beziapp-80550d8cad189982bf607549b6b5d3977602b91b.tar.lz beziapp-80550d8cad189982bf607549b6b5d3977602b91b.tar.xz beziapp-80550d8cad189982bf607549b6b5d3977602b91b.tar.zst beziapp-80550d8cad189982bf607549b6b5d3977602b91b.zip |
Diffstat (limited to '')
-rw-r--r-- | assets/js/app.js.bvr | 2 | ||||
-rw-r--r-- | assets/root/index.html | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/assets/js/app.js.bvr b/assets/js/app.js.bvr index 7375b61..17d7555 100644 --- a/assets/js/app.js.bvr +++ b/assets/js/app.js.bvr @@ -12,8 +12,6 @@ if ("serviceWorker" in navigator) { navigator.serviceWorker.register("/sw.js") .then(() => { }) .catch((err) => console.log("Service worker registration failed", err)); -} else { - alert("Vaša naprava ne podpira BežiAppa. Your device does not support BežiApp."); } // Listen to messages from service workers. diff --git a/assets/root/index.html b/assets/root/index.html index f2309ad..90a1a95 100644 --- a/assets/root/index.html +++ b/assets/root/index.html @@ -30,7 +30,7 @@ BežiApp needs Javascript to operate, but it's currently not accessible. Check your browser's settings and enable Javascript. </h1> </noscript> - <div id=nepodpira> + <div id=nepodpira hidden=hidden> <h1> BežiApp se ni mogel zagnati ): </h1> @@ -54,8 +54,7 @@ <i>BežiApp ver. <span id=beziappver></span><br>BežiApp previous commit: <span id=beziappcommit></span></i> </div> <script> - document.getElementById("beziappver").innerText = app_version; - document.getElementById("beziappcommit").innerText = previous_commit; + setTimeout(function() {document.getElementsByTagName("div")[0].hidden=false}, 1000); </script> </body> |