summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/js/app.js.bvr2
-rw-r--r--assets/root/index.html5
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>