|
@@ -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);
|