fix replying in chat while keeping expanded images fixed

pull/127/head
Aevann 2023-02-18 23:45:37 +02:00
parent 8c0fcc5405
commit 104060e79a
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ socket.on('speak', function(json) {
}
let line = document.getElementsByClassName('chat-line')[0].cloneNode(true)
register_new_elements(line);
bs_trigger(line)
if (last_user == json['user_id']) {
box.querySelector('.chat-group:last-child').append(line)
}