fixes humanreadable numbers in infinite scrolling

This commit is contained in:
Baris Usakli
2013-12-06 16:26:07 -05:00
parent 074d7e7c8d
commit 9ee250b597
3 changed files with 6 additions and 3 deletions

View File

@@ -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) {