Fix video alert in event modal.
This commit is contained in:
parent
b9fcd841f7
commit
c313397def
|
@ -65,7 +65,7 @@ function setup_websocket() {
|
||||||
if(payload['event_instance']['video_recording'] == true) {
|
if(payload['event_instance']['video_recording'] == true) {
|
||||||
video_recording_element.innerHTML = 'This event will be recorded!';
|
video_recording_element.innerHTML = 'This event will be recorded!';
|
||||||
} else {
|
} else {
|
||||||
video_recording_element.remove();
|
video_recording_element.parentElement.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue