fixes to category pagination

This commit is contained in:
Baris Soner Usakli
2014-01-24 23:05:59 -05:00
parent ef6fd35e85
commit b23960e8d7
5 changed files with 22 additions and 8 deletions

View File

@@ -104,7 +104,12 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
addActiveUser(data);
socket.emit('categories.getPageCount', templates.get('category_id'), function(err, newPageCount) {
pagination.recreatePaginationLinks('category', newPageCount);
});
$('#topics-container span.timeago').timeago();
app.createUserTooltips();
});
}
@@ -143,6 +148,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
}
$('#topics-container span.timeago').timeago();
app.createUserTooltips();
app.makeNumbersHumanReadable(html.find('.human-readable-number'));
});
}