register_new_elements

pull/225/head
Aevann 2024-03-08 07:18:45 +02:00
parent 84c605bf31
commit 624999e89a
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ socket.on('insert_reply', function(data) {
if (replies) {
replies.insertAdjacentHTML('beforeend', data[1]);
register_new_elements(replies);
bs_trigger(replies);
notifs = notifs + 1;
if (notifs == 1) {
flash();