From b0d7eb0101a6c8a26c97a1c7069e4496706225ec Mon Sep 17 00:00:00 2001 From: rstular Date: Sun, 17 May 2020 23:21:15 +0200 Subject: Revert "Styling fix, lopolis fix" This reverts commit ea1ff86ecd12b698fe776801f87138221d01a9ce. --- assets/js/meals.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'assets/js') 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); } }); -- cgit v1.2.3