inf scroll changes

dont load main post if start > 0
This commit is contained in:
barisusakli
2015-09-24 21:14:34 -04:00
parent 137f2097db
commit c617a3f008
9 changed files with 127 additions and 153 deletions

View File

@@ -171,8 +171,8 @@ define('forum/topic', [
function enableInfiniteLoadingOrPagination() {
if(!config.usePagination) {
infinitescroll.init(posts.loadMorePosts, components.get('post', 'index', 0).height());
if (!config.usePagination) {
infinitescroll.init(posts.loadMorePosts);
} else {
navigator.hide();