This commit is contained in:
barisusakli
2016-04-29 20:35:49 +03:00
parent cb1920d45a
commit 5e5e46e95f
9 changed files with 131 additions and 102 deletions

View File

@@ -118,8 +118,8 @@ function loadMorePosts(set, uid, data, callback) {
return callback(new Error('[[error:invalid-data]]'));
}
var start = Math.max(0, parseInt(data.after, 10)),
stop = start + 9;
var start = Math.max(0, parseInt(data.after, 10));
var stop = start + 9;
posts.getPostSummariesFromSet(set, uid, start, stop, callback);
}