Skip to content

Commit

Permalink
fix: reset loadComments var
Browse files Browse the repository at this point in the history
  • Loading branch information
Candinya committed Jun 25, 2024
1 parent 9bf30f8 commit f968da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/comments/gitalk.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
};

window.loadComments = loadComments;
window.addEventListener('pjax:before', () => {
window.addEventListener('pjax:success', () => {
window.loadComments = loadComments;
});
})();

0 comments on commit f968da1

Please sign in to comment.