already checked in scrollToPostIfSelf

This commit is contained in:
barisusakli
2016-03-21 10:16:10 +02:00
parent 86180e29e6
commit 4eb7468dcd

View File

@@ -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;