From 4eb7468dcdef86c4971dafae80c67507857806de Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 21 Mar 2016 10:16:10 +0200 Subject: [PATCH] already checked in scrollToPostIfSelf --- public/src/client/topic/posts.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js index dbe2eddf16..07212989f2 100644 --- a/public/src/client/topic/posts.js +++ b/public/src/client/topic/posts.js @@ -50,9 +50,7 @@ define('forum/topic/posts', [ function onNewPostPagination(data) { function scrollToPost() { - if (config.scrollToMyPost) { - scrollToPostIfSelf(data.posts[0]); - } + scrollToPostIfSelf(data.posts[0]); } var posts = data.posts;