This commit is contained in:
barisusakli
2015-01-12 18:16:34 -05:00
parent bbfec7d443
commit 200f74f1c7
3 changed files with 10 additions and 6 deletions

View File

@@ -76,9 +76,9 @@ define('forum/topic', [
Topic.toBottom = function() {
socket.emit('topics.postcount', ajaxify.variables.get('topic_id'), function(err, postCount) {
if (config.topicPostSort !== 'oldest_to_newest') {
postCount = 1;
postCount = 2;
}
navigator.scrollBottom(postCount - 1);
navigator.scrollBottom(postCount);
});
};