1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-12-22 04:02:44 +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']) {
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 {
box.style.backgroundColor = event_info['color'];
}