diff options
author | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-03-06 14:22:03 +0100 |
---|---|---|
committer | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-03-06 14:22:03 +0100 |
commit | 64d26557a090b4f5bccb2d0d15c03e148f04f454 (patch) | |
tree | 2986b6252747ce561fb1692cbeee022ab73065b8 /js/app.js | |
parent | added i18n, converted HTML files, TODO: js UI responses, TODO: translations (diff) | |
download | beziapp-64d26557a090b4f5bccb2d0d15c03e148f04f454.tar beziapp-64d26557a090b4f5bccb2d0d15c03e148f04f454.tar.gz beziapp-64d26557a090b4f5bccb2d0d15c03e148f04f454.tar.bz2 beziapp-64d26557a090b4f5bccb2d0d15c03e148f04f454.tar.lz beziapp-64d26557a090b4f5bccb2d0d15c03e148f04f454.tar.xz beziapp-64d26557a090b4f5bccb2d0d15c03e148f04f454.tar.zst beziapp-64d26557a090b4f5bccb2d0d15c03e148f04f454.zip |
Diffstat (limited to '')
-rw-r--r-- | js/app.js | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -15,3 +15,12 @@ if (navigator.serviceWorker) { if (location.protocol != 'https:') { location.href = 'https:' + window.location.href.substring(window.location.protocol.length); } +function UIAlert(usermsg, devmsg) { + if(true) { // če bo kakšen dev switch? + M.toast( { html: usermsg } ); + console.log("[BežiApp UIAlert] "+usermsg+" "+devmsg); + } else { + M.toast( { html: usermsg+" "+devmsg } ); + } +} + |