diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2021-03-25 20:22:29 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2021-03-25 20:22:29 +0100 |
commit | c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885 (patch) | |
tree | 93ee0c21226fa260e51b0ec451e3f62d1b4672b8 /assets/js/initialize.js | |
parent | Merge pull request 'dev' (#1) from dev into master (diff) | |
parent | Merge branch 'master' into dev (diff) | |
download | beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar.gz beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar.bz2 beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar.lz beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar.xz beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.tar.zst beziapp-c9a6ddd6e1c0c7434a95d670fddf3f5b7da4c885.zip |
Diffstat (limited to 'assets/js/initialize.js')
-rw-r--r-- | assets/js/initialize.js | 6 |
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) { |