mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 09:25:45 +01:00
fixes timeago
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user