summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-17 23:16:38 +0200
committerrstular <rok@stular.eu>2020-05-17 23:16:38 +0200
commitea1ff86ecd12b698fe776801f87138221d01a9ce (patch)
treed8cd5dfe43ed96e4518d28144bcff60c5329b8f2 /assets
parentStyling bug fixes (diff)
downloadbeziapp-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 'assets')
-rw-r--r--assets/css/styles.css1
-rw-r--r--assets/js/meals.js6
2 files changed, 5 insertions, 2 deletions
diff --git a/assets/css/styles.css b/assets/css/styles.css
index 065457f..10e4e87 100644
--- a/assets/css/styles.css
+++ b/assets/css/styles.css
@@ -305,6 +305,7 @@ table.highlight > tbody > tr:hover {
.collapsible-header {
background-color: var(--background-color);
color: var(--color-text);
+ border-bottom-color: var(--color-divider);
}
h2 {
diff --git a/assets/js/meals.js b/assets/js/meals.js
index e9b3af8..0f4230e 100644
--- a/assets/js/meals.js
+++ b/assets/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);
}
});