Added extra room name text on mobile
This commit is contained in:
parent
c13d6c03d0
commit
1df2f02cc9
3 changed files with 9 additions and 5 deletions
|
@ -49,7 +49,10 @@ if (roomName) {
|
|||
isSystem: true,
|
||||
})
|
||||
|
||||
if (window.screen.width < 1000) toggleOpen()
|
||||
if (window.screen.width < 1000) {
|
||||
toggleOpen()
|
||||
document.querySelector("#roomName").innerText = roomName
|
||||
}
|
||||
}
|
||||
|
||||
menuButton.addEventListener("click", toggleOpen)
|
||||
|
|
Reference in a new issue