show in frontend if we're waiting for a schedule update

This commit is contained in:
Franzi 2021-12-24 21:22:40 +01:00
parent 818b474bc4
commit bc7f5414bd
Signed by: kunsi
GPG Key ID: 12E3D2136B818350
1 changed files with 7 additions and 2 deletions

View File

@ -17,8 +17,13 @@ function update_lower_third() {
return
}
if (!schedule || !event_info) {
console.warn("There's no schedule or no event info yet, exiting ...");
if (!event_info) {
console.warn("There's no event info yet, exiting");
return
}
if (!schedule) {
$('#l3title').text('Waiting for schedule ...')
return
}