From a20741408c43a3d239f4dda0a6a7f43be90434bf Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Fri, 7 May 2021 02:44:04 +0200 Subject: [PATCH] Fix hander for shared screen close button. --- static/galene.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/galene.js b/static/galene.js index f473d5e..8a17491 100644 --- a/static/galene.js +++ b/static/galene.js @@ -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);