Skip to content

Node.js based forum software built for the modern web

fix: timeago in navigation

Barış Soner Uşaklıa389a31b4ab2
diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js
index c91bbade22..a6ba5f9e30 100644
--- a/public/src/modules/navigator.js
+++ b/public/src/modules/navigator.js
@@ -250,8 +250,10 @@ define('navigator', ['forum/pagination', 'components'], function (pagination, co
return app.alertError(err.message);
}
app.parseAndTranslate('partials/topic/navigation-post', { post: postData }, function (html) {
- html.find('.timeago').timeago();
- paginationBlockEl.find('.post-content').html(html);
+ paginationBlockEl
+ .find('.post-content')
+ .html(html)
+ .find('.timeago').timeago();
});
callback();