1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-10 02:35:58 +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) { stop.onclick = function(event) {
event.preventDefault(); event.preventDefault();
try { try {
c.close(true); c.close();
delMedia(c.localId);
} catch(e) { } catch(e) {
console.error(e); console.error(e);
displayError(e); displayError(e);