Hides video wrapper when avtar is shown, and make it visible when we hide the avtar.
This commit is contained in:
parent
765f07109a
commit
3cd549a758
|
@ -239,6 +239,9 @@ class VideoContainer extends LargeContainer {
|
|||
}
|
||||
|
||||
showAvatar (show) {
|
||||
// if we are showing the avatar, this means there is no video on large
|
||||
// so let's hide its video wrapper
|
||||
show ? this.hide() : this.show();
|
||||
this.$avatar.css("visibility", show ? "visible" : "hidden");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue