From e2814e1640f275c6edc683c4c8b77a208b91b878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 20 Feb 2020 20:44:58 +0100 Subject: changed timetable toast if no periods --- js/timetable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/timetable.js b/js/timetable.js index 40d1d52..c144ecf 100644 --- a/js/timetable.js +++ b/js/timetable.js @@ -128,7 +128,7 @@ async function loadTimetable(date_object, force_refresh = false) { success: (data) => { // Check if operation was successful if (data === null) { - M.toast({ html: "Timetable not available!" }); + M.toast({ html: "No periods in selected week." }); setLoading(false); } else { -- cgit v1.2.3