diff options
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 } ); + } +} + |