没房间了就刷新网页
This commit is contained in:
1 parent
905bde5ba4
commit
c8dd1a6298
1 file changed
+1
-3
+1
-3
@@ -454,9 +454,7 @@ function setupMoreBtnMenu() {
|
||||
switchRoom(0);
|
||||
} else {
|
||||
// 没有房间了,回到登录
|
||||
activeRoomIndex = -1;
|
||||
document.getElementById('chat-container').style.display = 'none';
|
||||
document.getElementById('login-container').style.display = '';
|
||||
location.reload();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user