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 /dist | |
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 'dist')
-rwxr-xr-x | dist/cache_name.txt | 2 | ||||
-rwxr-xr-x | dist/index.html | 5 | ||||
-rwxr-xr-x | dist/js/app.js | 4 | ||||
-rwxr-xr-x | dist/pages/about.html | 2 | ||||
-rwxr-xr-x | dist/sw.js | 4 |
5 files changed, 7 insertions, 10 deletions
diff --git a/dist/cache_name.txt b/dist/cache_name.txt index 6f5c5ff..4680f96 100755 --- a/dist/cache_name.txt +++ b/dist/cache_name.txt @@ -3,4 +3,4 @@ -///site-static-1.0.16.3-beta-ec8292f||| +///site-static-1.0.16.3-beta-1f9f384||| diff --git a/dist/index.html b/dist/index.html index f2309ad..90a1a95 100755 --- a/dist/index.html +++ b/dist/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> diff --git a/dist/js/app.js b/dist/js/app.js index c0d2c6f..ddb1a7b 100755 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -5,7 +5,7 @@ // @begin=js@ const app_version = "1.0.16.3-beta"; -const previous_commit = "ec8292f44fd0040145c1643ff871a98e3a41fcd0"; +const previous_commit = "1f9f384933ac7afa5bca8a2a465f6f1ae6f02edd"; const BEZIAPP_UPDATE_INTERVAL = 300; // update vsakih 300 sekund if (location.protocol !== 'https:') { @@ -16,8 +16,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/dist/pages/about.html b/dist/pages/about.html index e073999..afe81cf 100755 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -163,7 +163,7 @@ <div class="row"> <p> <small> - ^HEAD ec8292f44fd0040145c1643ff871a98e3a41fcd0 + ^HEAD 1f9f384933ac7afa5bca8a2a465f6f1ae6f02edd </small> </p> </div> @@ -5,8 +5,8 @@ // @begin=js@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.16.3-beta-ec8292f"; -// commit before the latest is ec8292f44fd0040145c1643ff871a98e3a41fcd0 +const static_cache_name = "site-static-1.0.16.3-beta-1f9f384"; +// commit before the latest is 1f9f384933ac7afa5bca8a2a465f6f1ae6f02edd // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! |