fix replying in chat while keeping expanded images fixed
parent
8c0fcc5405
commit
104060e79a
|
@ -127,6 +127,8 @@ socket.on('speak', function(json) {
|
||||||
}
|
}
|
||||||
|
|
||||||
let line = document.getElementsByClassName('chat-line')[0].cloneNode(true)
|
let line = document.getElementsByClassName('chat-line')[0].cloneNode(true)
|
||||||
|
register_new_elements(line);
|
||||||
|
bs_trigger(line)
|
||||||
if (last_user == json['user_id']) {
|
if (last_user == json['user_id']) {
|
||||||
box.querySelector('.chat-group:last-child').append(line)
|
box.querySelector('.chat-group:last-child').append(line)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue