diff --git a/layout/common/comment.jsx b/layout/common/comment.jsx index f7d684e9f..702c31c40 100644 --- a/layout/common/comment.jsx +++ b/layout/common/comment.jsx @@ -13,7 +13,7 @@ module.exports = class extends Component { return null; } - return
+ return

{__('article.comments')}

{(() => { diff --git a/source/js/pjax.js b/source/js/pjax.js index 82d9ae80f..64d1ec4d2 100644 --- a/source/js/pjax.js +++ b/source/js/pjax.js @@ -7,14 +7,16 @@ const Pjax = window.Pjax || function() {}; pjax = new Pjax({ selectors: [ + '[data-pjax]', 'head title', '.columns', '.navbar-start', '.navbar-end', '.searchbox', + '.pjax-reload', '#back-to-top', - '[data-pjax]', - '.pjax-reload' + '#comments link', + '#comments script', ] }); } catch (e) {