diff --git a/footer.php b/footer.php index bd6d148..516ce35 100644 --- a/footer.php +++ b/footer.php @@ -130,6 +130,7 @@ function goToComment() { document.getElementById('btn-comments').innerText = 'hide comments'; document.getElementById('comments').style.display = 'block'; window.location.hash = "#postFun"; + footerPosition(); } is('post')) : ?> @@ -162,4 +163,4 @@ function goToComment() { footer(); ?> - \ No newline at end of file +