Преглед изворни кода

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

j8
damencho пре 9 година
родитељ
комит
9e7275acfb
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4
    0
      modules/UI/shared_video/SharedVideo.js

+ 4
- 0
modules/UI/shared_video/SharedVideo.js Прегледај датотеку

@@ -380,6 +380,10 @@ SharedVideoThumb.prototype.videoClick = function () {
380 380
 SharedVideoThumb.prototype.remove = function () {
381 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 387
     // Remove whole container
384 388
     if (this.container.parentNode) {
385 389
         this.container.parentNode.removeChild(this.container);

Loading…
Откажи
Сачувај