1
Fork 0

Fix hander for shared screen close button.

This commit is contained in:
Juliusz Chroboczek 2021-05-07 02:44:04 +02:00
parent 86b6c71ca0
commit a20741408c
1 changed files with 1 additions and 2 deletions

View File

@ -1527,8 +1527,7 @@ function registerControlHandlers(media, container, c) {
stop.onclick = function(event) {
event.preventDefault();
try {
c.close(true);
delMedia(c.localId);
c.close();
} catch(e) {
console.error(e);
displayError(e);