Fix error hvor speaker will be added every time a modal is opened.
This commit is contained in:
parent
a32f04548c
commit
b27bac8500
|
@ -49,6 +49,7 @@ function setup_websocket() {
|
|||
}
|
||||
|
||||
speakers_div = modal.getElementsByClassName('speakers')[0];
|
||||
speakers_div.innerHTML = "";
|
||||
speakers = payload['event_instance']['speakers'];
|
||||
for(speaker_id in speakers) {
|
||||
var speaker = speakers[speaker_id];
|
||||
|
|
Loading…
Reference in a new issue