Hiding cam details when entering a Jisti room

This commit is contained in:
David Négrier 2020-09-01 14:43:21 +02:00
parent 0df6f78e6b
commit f70ba1411a
2 changed files with 8 additions and 0 deletions

View file

@ -132,6 +132,11 @@ export class MediaManager {
gameOverlay.classList.add('active');
}
public hideGameOverlay(){
const gameOverlay = this.getElementByIdOrFail('game-overlay');
gameOverlay.classList.remove('active');
}
private enableCamera() {
this.cinemaClose.style.display = "none";
this.cinemaBtn.classList.remove("disabled");