summaryrefslogtreecommitdiffstats
path: root/dist/js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/js')
-rw-r--r--dist/js/meals.js6
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);
}
});