summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-20 19:40:41 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-20 19:40:41 +0100
commit72d3362793d7f7390a7b08363b1be2d7ebf85f89 (patch)
treed95fde9f22005f3b3e46a60ef0fb300b770e1dc4 /js
parentReformatting (diff)
downloadbeziapp-72d3362793d7f7390a7b08363b1be2d7ebf85f89.tar
beziapp-72d3362793d7f7390a7b08363b1be2d7ebf85f89.tar.gz
beziapp-72d3362793d7f7390a7b08363b1be2d7ebf85f89.tar.bz2
beziapp-72d3362793d7f7390a7b08363b1be2d7ebf85f89.tar.lz
beziapp-72d3362793d7f7390a7b08363b1be2d7ebf85f89.tar.xz
beziapp-72d3362793d7f7390a7b08363b1be2d7ebf85f89.tar.zst
beziapp-72d3362793d7f7390a7b08363b1be2d7ebf85f89.zip
Diffstat (limited to 'js')
-rw-r--r--js/absences.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/absences.js b/js/absences.js
index e0610dd..77a6c75 100644
--- a/js/absences.js
+++ b/js/absences.js
@@ -62,7 +62,7 @@ async function loadAbsences(force_refresh = false) {
success: function (data) {
// If data is null, the credentials were incorrect
if (data === null) {
- M.toast({ html: "Request failed!" });
+ M.toast({ html: "No absences in this time span." });
setLoading(false);
} else {
// Save absences & populate UI
@@ -208,4 +208,4 @@ document.addEventListener("DOMContentLoaded", () => {
const menus = document.querySelectorAll('.side-menu');
M.Sidenav.init(menus, { edge: 'right', draggable: true });
-}); \ No newline at end of file
+});