summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
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
+});