mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: timeago in navigation
This commit is contained in:
@@ -250,8 +250,10 @@ define('navigator', ['forum/pagination', 'components'], function (pagination, co
|
|||||||
return app.alertError(err.message);
|
return app.alertError(err.message);
|
||||||
}
|
}
|
||||||
app.parseAndTranslate('partials/topic/navigation-post', { post: postData }, function (html) {
|
app.parseAndTranslate('partials/topic/navigation-post', { post: postData }, function (html) {
|
||||||
html.find('.timeago').timeago();
|
paginationBlockEl
|
||||||
paginationBlockEl.find('.post-content').html(html);
|
.find('.post-content')
|
||||||
|
.html(html)
|
||||||
|
.find('.timeago').timeago();
|
||||||
});
|
});
|
||||||
|
|
||||||
callback();
|
callback();
|
||||||
|
|||||||
Reference in New Issue
Block a user