Node.js based forum software built for the modern web
fixed infinite loading on /recent
Baris Usakli3577c11c8989
diff --git a/public/src/forum/recent.js b/public/src/forum/recent.jsindex a29b183631..8186a69e59 100644--- a/public/src/forum/recent.js+++ b/public/src/forum/recent.js@@ -90,12 +90,13 @@ define(function() {$('#category-no-topics').remove();container.append(html);+ $('span.timeago').timeago();}Recent.loadMoreTopics = function() {Recent.loadingMoreTopics = true;socket.emit('api:topics.loadMoreRecentTopics', {- after: $('#topics-container').children().length,+ after: $('#topics-container').children('li').length,term: active}, function(data) {if (data.topics && data.topics.length) {