summaryrefslogtreecommitdiffstats
path: root/webapp/components/user_settings/user_settings_display.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-03-29 17:03:46 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-03-29 17:03:46 +0500
commit4c28726760836d7d25164cd1b6488819be18c38c (patch)
treea54a6dc3b9838856f7a1d579697fadd89d661be5 /webapp/components/user_settings/user_settings_display.jsx
parent31750305aa4834b05ea1e7b0f00d0c83f528342a (diff)
downloadchat-4c28726760836d7d25164cd1b6488819be18c38c.tar.gz
chat-4c28726760836d7d25164cd1b6488819be18c38c.tar.bz2
chat-4c28726760836d7d25164cd1b6488819be18c38c.zip
Multiple UI Improvements
Diffstat (limited to 'webapp/components/user_settings/user_settings_display.jsx')
-rw-r--r--webapp/components/user_settings/user_settings_display.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/user_settings/user_settings_display.jsx b/webapp/components/user_settings/user_settings_display.jsx
index e56156049..d815bd371 100644
--- a/webapp/components/user_settings/user_settings_display.jsx
+++ b/webapp/components/user_settings/user_settings_display.jsx
@@ -1,6 +1,7 @@
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
+import $ from 'jquery';
import SettingItemMin from '../setting_item_min.jsx';
import SettingItemMax from '../setting_item_max.jsx';
import ManageLanguages from './manage_languages.jsx';
@@ -83,6 +84,7 @@ export default class UserSettingsDisplay extends React.Component {
this.setState({selectedFont});
}
updateSection(section) {
+ $('.settings-modal .modal-body').scrollTop(0).perfectScrollbar('update');
this.updateState();
this.props.updateSection(section);
}