From 9e7275acfb1b3bfeecc999bfb80c71627831a1f4 Mon Sep 17 00:00:00 2001 From: damencho Date: Fri, 18 Mar 2016 17:21:41 -0500 Subject: [PATCH] Updates large video when user left and we are removing the shared video. --- modules/UI/shared_video/SharedVideo.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/UI/shared_video/SharedVideo.js b/modules/UI/shared_video/SharedVideo.js index 3812b55af..edeeb70cb 100644 --- a/modules/UI/shared_video/SharedVideo.js +++ b/modules/UI/shared_video/SharedVideo.js @@ -380,6 +380,10 @@ SharedVideoThumb.prototype.videoClick = function () { SharedVideoThumb.prototype.remove = function () { console.log("Remove shared video thumb", this.id); + // Make sure that the large video is updated if are removing its + // corresponding small video. + this.VideoLayout.updateRemovedVideo(this.id); + // Remove whole container if (this.container.parentNode) { this.container.parentNode.removeChild(this.container);