Skip to content

Node.js based forum software built for the modern web

add the loaded topics after the last topic on the list

Barış Soner Uşaklı82863a28f0aa
diff --git a/public/src/client/recent.js b/public/src/client/recent.js
index b8f9380198..71b91beced 100644
--- a/public/src/client/recent.js
+++ b/public/src/client/recent.js
@@ -158,7 +158,7 @@ define('forum/recent', ['forum/infinitescroll', 'components'], function (infinit
app.parseAndTranslate(templateName, 'topics', { topics: topics, showSelect: showSelect }, function (html) {
$('#category-no-topics').remove();
- $('[component="category"]').append(html);
+ html.insertAfter($('[component="category/topic"]').last());
html.find('.timeago').timeago();
app.createUserTooltips();
utils.makeNumbersHumanReadable(html.find('.human-readable-number'));