Updates large video when user left and we are removing the shared video.
This commit is contained in:
parent
ba01733c4f
commit
9e7275acfb
|
@ -380,6 +380,10 @@ SharedVideoThumb.prototype.videoClick = function () {
|
||||||
SharedVideoThumb.prototype.remove = function () {
|
SharedVideoThumb.prototype.remove = function () {
|
||||||
console.log("Remove shared video thumb", this.id);
|
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
|
// Remove whole container
|
||||||
if (this.container.parentNode) {
|
if (this.container.parentNode) {
|
||||||
this.container.parentNode.removeChild(this.container);
|
this.container.parentNode.removeChild(this.container);
|
||||||
|
|
Loading…
Reference in New Issue