summaryrefslogtreecommitdiffstats
path: root/assets/js/initialize.js
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-03-25 18:09:50 +0100
committersijanec <anton@sijanec.eu>2021-03-25 18:09:50 +0100
commit1f9f384933ac7afa5bca8a2a465f6f1ae6f02edd (patch)
tree65a06f833dc64878cbca0188b28e88d1d5cb243b /assets/js/initialize.js
parentMerge branch 'master' into dev (diff)
downloadbeziapp-1f9f384933ac7afa5bca8a2a465f6f1ae6f02edd.tar
beziapp-1f9f384933ac7afa5bca8a2a465f6f1ae6f02edd.tar.gz
beziapp-1f9f384933ac7afa5bca8a2a465f6f1ae6f02edd.tar.bz2
beziapp-1f9f384933ac7afa5bca8a2a465f6f1ae6f02edd.tar.lz
beziapp-1f9f384933ac7afa5bca8a2a465f6f1ae6f02edd.tar.xz
beziapp-1f9f384933ac7afa5bca8a2a465f6f1ae6f02edd.tar.zst
beziapp-1f9f384933ac7afa5bca8a2a465f6f1ae6f02edd.zip
Diffstat (limited to '')
-rw-r--r--assets/js/initialize.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/assets/js/initialize.js b/assets/js/initialize.js
index cb5d210..219bc57 100644
--- a/assets/js/initialize.js
+++ b/assets/js/initialize.js
@@ -4,7 +4,11 @@ function getUrlParameter(sParam) {
return found_param === null ? "" : found_param;
}
-
+try {
+ localforage.getItem("logged_in").then(console.log);
+} catch {
+ alert("Vaša naprava ne podpira BežiAppa. Your device does not support BežiApp.");
+}
localforage.getItem("logged_in")
.then(
function (value) {