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:
parent
d295ae18c3
commit
3235a91ff5
1 changed files with 2 additions and 0 deletions
|
@ -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'];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue