1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-22 01:01:02 +00:00

room_info: colour screen according to next talk if enabled

This commit is contained in:
Franzi 2024-10-10 16:59:37 +02:00
parent d295ae18c3
commit 3235a91ff5
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -72,6 +72,8 @@ function update_room_info() {
if (current_talk && current_talk['track']) { if (current_talk && current_talk['track']) {
box.style.backgroundColor = current_talk['track']['color']; box.style.backgroundColor = current_talk['track']['color'];
} else if (next_talk && next_talk['track'] && event_info['room-info']['show_next_talk']) {
box.style.backgroundColor = next_talk['track']['color'];
} else { } else {
box.style.backgroundColor = event_info['color']; box.style.backgroundColor = event_info['color'];
} }