diff --git a/public/src/client/topic.js b/public/src/client/topic.js index b3fa02b509..54052d47c1 100644 --- a/public/src/client/topic.js +++ b/public/src/client/topic.js @@ -157,7 +157,7 @@ define('forum/topic', [ components.get('topic').on('click', '[component="post/parent"]', function (e) { var toPid = $(this).attr('data-topid'); - var toPost = $('[component="post"][data-pid="' + toPid + '"]'); + var toPost = $('[component="topic"]>[component="post"][data-pid="' + toPid + '"]'); if (toPost.length) { e.preventDefault(); navigator.scrollToIndex(toPost.attr('data-index'), true);