Skip to content

Node.js based forum software built for the modern web

fixed missing topic_name and viewcount when reverse infinite scrolling

psychobunnya68ba044c348
diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js
index 6f7cc1a4b4..c261bd3c12 100644
--- a/public/src/forum/topic.js
+++ b/public/src/forum/topic.js
@@ -1207,6 +1207,9 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
findInsertionPoint();
+ data.title = templates.get('topic_name');
+ data.viewcount = templates.get('viewcount');
+
parseAndTranslatePosts(data, function(translatedHTML) {
var translated = $(translatedHTML);