From 82863a28f0aa701ec7e34bf6bdf1137eea4a6140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 28 Apr 2017 02:08:14 -0400 Subject: [PATCH] add the loaded topics after the last topic on the list --- public/src/client/recent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'));