Browse Source

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

j8
damencho 9 years ago
parent
commit
9e7275acfb
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      modules/UI/shared_video/SharedVideo.js

+ 4
- 0
modules/UI/shared_video/SharedVideo.js View File

380
 SharedVideoThumb.prototype.remove = function () {
380
 SharedVideoThumb.prototype.remove = function () {
381
     console.log("Remove shared video thumb", this.id);
381
     console.log("Remove shared video thumb", this.id);
382
 
382
 
383
+    // Make sure that the large video is updated if are removing its
384
+    // corresponding small video.
385
+    this.VideoLayout.updateRemovedVideo(this.id);
386
+
383
     // Remove whole container
387
     // Remove whole container
384
     if (this.container.parentNode) {
388
     if (this.container.parentNode) {
385
         this.container.parentNode.removeChild(this.container);
389
         this.container.parentNode.removeChild(this.container);

Loading…
Cancel
Save