summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-24 23:52:29 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-24 23:52:29 +0100
commite90bee70b97d1103fc7136ba00f27ed0b6b1d529 (patch)
tree39debd61658c82efce9e1234405c0541c4ae1e20
parentmeals almost done (diff)
downloadbeziapp-e90bee70b97d1103fc7136ba00f27ed0b6b1d529.tar
beziapp-e90bee70b97d1103fc7136ba00f27ed0b6b1d529.tar.gz
beziapp-e90bee70b97d1103fc7136ba00f27ed0b6b1d529.tar.bz2
beziapp-e90bee70b97d1103fc7136ba00f27ed0b6b1d529.tar.lz
beziapp-e90bee70b97d1103fc7136ba00f27ed0b6b1d529.tar.xz
beziapp-e90bee70b97d1103fc7136ba00f27ed0b6b1d529.tar.zst
beziapp-e90bee70b97d1103fc7136ba00f27ed0b6b1d529.zip
-rw-r--r--js/meals.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/meals.js b/js/meals.js
index 1a38491..09cb762 100644
--- a/js/meals.js
+++ b/js/meals.js
@@ -84,7 +84,7 @@ async function loadMeals(force_refresh = false) {
}
},
error: () => {
- M.toast({html:"No internet connection or the server fucking crashed! )-:<"});
+ M.toast({html:"No internet connection! (-:"});
setLoading(false);
}
});
@@ -92,7 +92,7 @@ async function loadMeals(force_refresh = false) {
},
error: () => {
- M.toast({ html: "No internet connection!" });
+ M.toast({ html: "Authentication failed (not logged in) or connection problem." });
setLoading(false);
}
@@ -267,7 +267,7 @@ function lopolisLogin() {
}
},
error: () => {
- M.toast({html:"No internet connection!"});
+ M.toast({html:"Authentication failed!"});
setLoading(false);
}
});