.lastElementChild

pull/225/head
Aevann 2024-03-08 07:21:15 +02:00
parent 624999e89a
commit 42bfe60b89
1 changed files with 2 additions and 2 deletions

View File

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