summaryrefslogtreecommitdiffstats
path: root/assets/js
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-17 23:21:15 +0200
committerrstular <rok@stular.eu>2020-05-17 23:22:13 +0200
commitb0d7eb0101a6c8a26c97a1c7069e4496706225ec (patch)
treee5abe0c98c9cced0b63bab787b90905c3e49aa07 /assets/js
parentStyling fix, lopolis fix (diff)
downloadbeziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar
beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar.gz
beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar.bz2
beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar.lz
beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar.xz
beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.tar.zst
beziapp-b0d7eb0101a6c8a26c97a1c7069e4496706225ec.zip
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/meals.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/assets/js/meals.js b/assets/js/meals.js
index 0f4230e..e9b3af8 100644
--- a/assets/js/meals.js
+++ b/assets/js/meals.js
@@ -278,10 +278,8 @@ async function lopolisLogin() {
}
},
- error: (xhr) => {
- if (xhr.status !== 401) {
- UIAlert( D("loginError"), "lopolisLogin(): ajax.error");
- }
+ error: () => {
+ UIAlert( D("loginError"), "lopolisLogin(): ajax.error");
setLoading(false);
}
});