forked from snxraven/LinkUp-P2P-Chat
Remove not needed code
This commit is contained in:
parent
a92b22ef17
commit
cd4b333954
@ -111,15 +111,6 @@
|
||||
console.error('Element #chat-room-topic not found');
|
||||
}
|
||||
|
||||
if (chatRoomName) {
|
||||
chatRoomName.innerText = roomName;
|
||||
} else {
|
||||
console.error('Element #chat-room-name not found');
|
||||
}
|
||||
|
||||
clearMessages();
|
||||
renderMessagesForRoom(topic);
|
||||
|
||||
// Show chat UI elements
|
||||
document.querySelector('#chat').classList.remove('hidden');
|
||||
document.querySelector('#setup').classList.add('hidden');
|
||||
|
Loading…
Reference in New Issue
Block a user