From 76fcc9ec35b9c5b57ed325c05bd730db226aeae3 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 24 Mar 2016 12:53:44 +0200 Subject: [PATCH] this is fine --- src/user/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/settings.js b/src/user/settings.js index ee8bcb0189..04e23e1152 100644 --- a/src/user/settings.js +++ b/src/user/settings.js @@ -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) != 0; + settings.scrollToMyPost = parseInt(getSetting(settings, 'scrollToMyPost', 1), 10) === 1; callback(null, settings); });