fix #4452: default to scroll to my post

This commit is contained in:
boomzillawtf
2016-03-23 21:37:48 -04:00
parent 3d0012d730
commit 6aa0f8eb8a
2 changed files with 5 additions and 5 deletions

View File

@@ -76,7 +76,7 @@ module.exports = function(User) {
settings.restrictChat = parseInt(getSetting(settings, 'restrictChat', 0), 10) === 1;
settings.topicSearchEnabled = parseInt(getSetting(settings, 'topicSearchEnabled', 0), 10) === 1;
settings.bootswatchSkin = settings.bootswatchSkin || 'default';
settings.scrollToMyPost = parseInt(getSetting(settings, 'scrollToMyPost', 1), 10) ===1;
settings.scrollToMyPost = parseInt(getSetting(settings, 'scrollToMyPost', 1), 10) != 0;
callback(null, settings);
});