diff options
Diffstat (limited to '')
-rw-r--r-- | assets/js/app.js.bvr | 2 | ||||
-rw-r--r-- | assets/root/index.html | 5 | ||||
-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 |
7 files changed, 9 insertions, 15 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> 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! |