fixes timeago

v1.18.x
barisusakli 9 years ago
parent c7ca045d0b
commit e03bacf032

@ -49,6 +49,7 @@ define('forum/categories', ['components', 'translator'], function(components, tr
html.fadeIn();
app.createUserTooltips();
html.find('.timeago').timeago();
if (category.find('[component="category/posts"]').length > parseInt(numRecentReplies, 10)) {
recentPosts.last().remove();
@ -63,7 +64,7 @@ define('forum/categories', ['components', 'translator'], function(components, tr
translator.translate(html, function(translatedHTML) {
translatedHTML = $(translatedHTML);
translatedHTML.find('img:not(.not-responsive)').addClass('img-responsive');
translatedHTML.find('.timeago').timeago();
callback(translatedHTML);
});
});

Loading…
Cancel
Save