Updates large video when user left and we are removing the shared video.

pull/543/head
damencho 9 years ago
parent ba01733c4f
commit 9e7275acfb
  1. 4
      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);

Loading…
Cancel
Save