diff options
author | rstular <rok@stular.eu> | 2020-05-17 23:16:38 +0200 |
---|---|---|
committer | rstular <rok@stular.eu> | 2020-05-17 23:16:38 +0200 |
commit | ea1ff86ecd12b698fe776801f87138221d01a9ce (patch) | |
tree | d8cd5dfe43ed96e4518d28144bcff60c5329b8f2 /dist/js | |
parent | Styling bug fixes (diff) | |
download | beziapp-ea1ff86ecd12b698fe776801f87138221d01a9ce.tar beziapp-ea1ff86ecd12b698fe776801f87138221d01a9ce.tar.gz beziapp-ea1ff86ecd12b698fe776801f87138221d01a9ce.tar.bz2 beziapp-ea1ff86ecd12b698fe776801f87138221d01a9ce.tar.lz beziapp-ea1ff86ecd12b698fe776801f87138221d01a9ce.tar.xz beziapp-ea1ff86ecd12b698fe776801f87138221d01a9ce.tar.zst beziapp-ea1ff86ecd12b698fe776801f87138221d01a9ce.zip |
Diffstat (limited to 'dist/js')
-rw-r--r-- | dist/js/meals.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dist/js/meals.js b/dist/js/meals.js index e9b3af8..0f4230e 100644 --- a/dist/js/meals.js +++ b/dist/js/meals.js @@ -278,8 +278,10 @@ async function lopolisLogin() { } }, - error: () => { - UIAlert( D("loginError"), "lopolisLogin(): ajax.error"); + error: (xhr) => { + if (xhr.status !== 401) { + UIAlert( D("loginError"), "lopolisLogin(): ajax.error"); + } setLoading(false); } }); |