Avoid flashing the 'join conference' button at the user in video rooms (#22120)
This commit is contained in:
parent
31b43542cd
commit
1783645108
1 changed files with 3 additions and 1 deletions
|
@ -241,7 +241,9 @@ function switchVisibleContainers() {
|
||||||
|
|
||||||
function toggleConferenceVisibility(inConference: boolean) {
|
function toggleConferenceVisibility(inConference: boolean) {
|
||||||
document.getElementById("jitsiContainer").style.visibility = inConference ? 'unset' : 'hidden';
|
document.getElementById("jitsiContainer").style.visibility = inConference ? 'unset' : 'hidden';
|
||||||
document.getElementById("joinButtonContainer").style.visibility = inConference ? 'hidden' : 'unset';
|
// Video rooms have a separate UI for joining, so they should never show our join button
|
||||||
|
document.getElementById("joinButtonContainer").style.visibility =
|
||||||
|
(inConference || isVideoChannel) ? 'hidden' : 'unset';
|
||||||
}
|
}
|
||||||
|
|
||||||
function skipToJitsiSplashScreen() {
|
function skipToJitsiSplashScreen() {
|
||||||
|
|
Loading…
Reference in a new issue