Skip to content

Node.js based forum software built for the modern web

hotfixing issue with set_up_posts function in new post event

Julian Lam12a8775de569
diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js
index 3e65275d77..fef2681fb4 100644
--- a/public/src/forum/topic.js
+++ b/public/src/forum/topic.js
@@ -330,11 +330,10 @@
socket.emit('api:post.privileges', data.posts[x].pid);
}
+ set_up_posts(uniqueid);
tempContainer.replaceWith(tempContainer.contents());
infiniteLoaderActive = false;
- set_up_posts(uniqueid);
-
addCommasToNumbers();
});