Skip to content

Node.js based forum software built for the modern web

removed scroll duration

barisusakli5e77b87a1ec2
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);