Browse Source

Hides video wrapper when avtar is shown, and make it visible when we hide the avtar.

master
damencho 9 years ago
parent
commit
3cd549a758
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      modules/UI/videolayout/LargeVideo.js

+ 3
- 0
modules/UI/videolayout/LargeVideo.js View File

239
     }
239
     }
240
 
240
 
241
     showAvatar (show) {
241
     showAvatar (show) {
242
+        // if we are showing the avatar, this means there is no video on large
243
+        // so let's hide its video wrapper
244
+        show ? this.hide() : this.show();
242
         this.$avatar.css("visibility", show ? "visible" : "hidden");
245
         this.$avatar.css("visibility", show ? "visible" : "hidden");
243
     }
246
     }
244
 
247
 

Loading…
Cancel
Save