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