From 5e77b87a1ec24dacf7f177107e83a357dc7c29ed Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 17 Sep 2016 16:19:20 +0300 Subject: [PATCH] removed scroll duration --- public/src/client/topic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/topic.js b/public/src/client/topic.js index 284fc42803..6f81233ee4 100644 --- a/public/src/client/topic.js +++ b/public/src/client/topic.js @@ -146,7 +146,7 @@ define('forum/topic', [ if (postIndex && window.location.search.indexOf('page=') === -1) { if (components.get('post/anchor', postIndex).length) { - return navigator.scrollToPostIndex(postIndex, true); + return navigator.scrollToPostIndex(postIndex, true, 0); } } else if (bookmark && (!config.usePagination || (config.usePagination && ajaxify.data.pagination.currentPage === 1)) && ajaxify.data.postcount > ajaxify.data.bookmarkThreshold) { navigator.update(0);