Skip to content

Commit

Permalink
[fix] 修复点击导航树的Comment时footer可能会不正确固定的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
edocli authored Oct 27, 2023
1 parent eb9aa09 commit 6af991a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ function goToComment() {
document.getElementById('btn-comments').innerText = 'hide comments';
document.getElementById('comments').style.display = 'block';
window.location.hash = "#postFun";
footerPosition();
}

<?php if ($this->is('post')) : ?>
Expand Down Expand Up @@ -162,4 +163,4 @@ function goToComment() {
<?php $this->footer(); ?>
</body>

</html>
</html>

0 comments on commit 6af991a

Please sign in to comment.