Explorar el Código

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

j8
damencho hace 9 años
padre
commit
9e7275acfb
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      modules/UI/shared_video/SharedVideo.js

+ 4
- 0
modules/UI/shared_video/SharedVideo.js Ver fichero

@@ -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…
Cancelar
Guardar