From 3cd549a7584c97a7f9afcca783f46ac23837e9a4 Mon Sep 17 00:00:00 2001 From: damencho Date: Thu, 14 Jan 2016 14:11:01 -0600 Subject: [PATCH] Hides video wrapper when avtar is shown, and make it visible when we hide the avtar. --- modules/UI/videolayout/LargeVideo.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/UI/videolayout/LargeVideo.js b/modules/UI/videolayout/LargeVideo.js index 79699e354..cfe063f13 100644 --- a/modules/UI/videolayout/LargeVideo.js +++ b/modules/UI/videolayout/LargeVideo.js @@ -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"); }