register_new_elements
parent
84c605bf31
commit
624999e89a
|
@ -5,6 +5,9 @@ socket.on('insert_reply', function(data) {
|
||||||
if (replies) {
|
if (replies) {
|
||||||
replies.insertAdjacentHTML('beforeend', data[1]);
|
replies.insertAdjacentHTML('beforeend', data[1]);
|
||||||
|
|
||||||
|
register_new_elements(replies);
|
||||||
|
bs_trigger(replies);
|
||||||
|
|
||||||
notifs = notifs + 1;
|
notifs = notifs + 1;
|
||||||
if (notifs == 1) {
|
if (notifs == 1) {
|
||||||
flash();
|
flash();
|
||||||
|
|
Loading…
Reference in New Issue