diff options
author | rstular <rok@stular.eu> | 2020-05-17 23:21:15 +0200 |
---|---|---|
committer | rstular <rok@stular.eu> | 2020-05-17 23:22:13 +0200 |
commit | b0d7eb0101a6c8a26c97a1c7069e4496706225ec (patch) | |
tree | e5abe0c98c9cced0b63bab787b90905c3e49aa07 /dist/js | |
parent | Styling fix, lopolis fix (diff) | |
download | beziapp-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 '')
-rw-r--r-- | dist/js/meals.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dist/js/meals.js b/dist/js/meals.js index 0f4230e..e9b3af8 100644 --- a/dist/js/meals.js +++ b/dist/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); } }); |