diff --git a/public/src/forum/category.js b/public/src/forum/category.js index 77daf9994c..44a11eaea9 100644 --- a/public/src/forum/category.js +++ b/public/src/forum/category.js @@ -140,10 +140,11 @@ define(function () { jQuery('#topics-container, .category-sidebar').removeClass('hidden'); jQuery('#category-no-topics').remove(); + html = $(html); container.append(html); $('#topics-container span.timeago').timeago(); - app.makeNumbersHumanReadable($(html).find('.human-readable-number')); + app.makeNumbersHumanReadable(html.find('.human-readable-number')); } Category.loadMoreTopics = function(cid) { diff --git a/public/src/forum/recent.js b/public/src/forum/recent.js index 4614c2f404..6b162db34f 100644 --- a/public/src/forum/recent.js +++ b/public/src/forum/recent.js @@ -89,9 +89,10 @@ define(function() { $('#category-no-topics').remove(); + html = $(html); container.append(html); $('span.timeago').timeago(); - app.makeNumbersHumanReadable($(html).find('.human-readable-number')); + app.makeNumbersHumanReadable(html.find('.human-readable-number')); } Recent.loadMoreTopics = function() { diff --git a/public/src/forum/unread.js b/public/src/forum/unread.js index 60c4ba4953..6debeeba84 100644 --- a/public/src/forum/unread.js +++ b/public/src/forum/unread.js @@ -79,9 +79,10 @@ define(function() { $('#category-no-topics').remove(); + html = $(html); container.append(html); $('span.timeago').timeago(); - app.makeNumbersHumanReadable($(html).find('.human-readable-number')); + app.makeNumbersHumanReadable(html.find('.human-readable-number')); } function loadMoreTopics() {