1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 15:25:48 +01:00

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

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);