removed scroll duration

This commit is contained in:
barisusakli
2016-09-17 16:19:20 +03:00
parent 3a21030437
commit 5e77b87a1e

View File

@@ -146,7 +146,7 @@ define('forum/topic', [
if (postIndex && window.location.search.indexOf('page=') === -1) { if (postIndex && window.location.search.indexOf('page=') === -1) {
if (components.get('post/anchor', postIndex).length) { 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) { } else if (bookmark && (!config.usePagination || (config.usePagination && ajaxify.data.pagination.currentPage === 1)) && ajaxify.data.postcount > ajaxify.data.bookmarkThreshold) {
navigator.update(0); navigator.update(0);