summaryrefslogtreecommitdiffstats
path: root/dist/js/meals.js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-17 22:29:59 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-17 22:29:59 +0200
commitfb3562344b75865754e3da52fa0c053e493b69af (patch)
tree48d53e317e86813021d5cf1af2ea85d03d8fa068 /dist/js/meals.js
parentCSS (diff)
parentBug fix attempt (diff)
downloadbeziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar.gz
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar.bz2
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar.lz
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar.xz
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar.zst
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.zip
Diffstat (limited to 'dist/js/meals.js')
-rw-r--r--dist/js/meals.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/js/meals.js b/dist/js/meals.js
index 0a5313a..e9b3af8 100644
--- a/dist/js/meals.js
+++ b/dist/js/meals.js
@@ -49,7 +49,7 @@ async function getToken(callback, callbackparams = []) {
type: "POST",
success: (dataauth) => {
- if(dataauth === null || dataauth.error == true) {
+ if(dataauth == null || dataauth.error == true) {
UIAlert(D("authenticationError"), "getToken(): response error or null");
localforage.setItem("logged_in_lopolis", false).then( function(){
checkLogin();
@@ -97,7 +97,7 @@ async function getMenus(dataauth, callback, callbackparams = []) {
type: "POST",
success: (meals) => {
- if(meals === null || meals.error == true) {
+ if(meals == null || meals.error == true) {
UIAlert( D("errorGettingMenus"), "getMenus(): response error or null");
setLoading(false);
localforage.setItem("logged_in_lopolis", false).then( () => {