diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js index 9cafc37ebc..4ab8d83b64 100644 --- a/public/src/modules/navigator.js +++ b/public/src/modules/navigator.js @@ -383,7 +383,7 @@ define('navigator', ['forum/pagination', 'components'], function (pagination, co // Temporarily disable navigator update on scroll $(window).off('scroll', navigator.update); - const anchorId = scrollTo.find('[component="post/anchor"]').prop('id'); + const anchorId = scrollTo.find('[component="post/anchor"], [component="topic/anchor"]').prop('id'); window.location.hash = anchorId; highlightPost();