From 811f61fab20b150de167c400328a3a3750c28ace Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sat, 24 May 2014 16:33:59 +0200 Subject: [PATCH] Fix main video removal when the peer share its screen --- public/js/vroom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/vroom.js b/public/js/vroom.js index efca291..9da32d4 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -952,7 +952,7 @@ function initVroom(room) { setTimeout(function(){ $("#peer_" + id).remove(); }, 300); - if (mainVid == id || mainVid == id + '_incoming'){ + if (mainVid == id + '_video_incoming' || mainVid == id + '_incoming'){ $('#mainVideo').hide(500); setTimeout(function(){ $('#mainVideo').html('');