diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-29 12:09:22 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-29 12:09:22 -0400 |
commit | 9c36210edd7cae4026e3a2ee472cf2fa751a0f77 (patch) | |
tree | fa5eafeec73cc7b6bcce47e5a9ac15b6481cc70e /webapp/components/user_settings/user_settings_general.jsx | |
parent | 442376c40affd8c0c475f630d67f6a0218e2b3af (diff) | |
parent | 68fe7a9753b678f4101f9b072975c1058d3d6813 (diff) | |
download | chat-9c36210edd7cae4026e3a2ee472cf2fa751a0f77.tar.gz chat-9c36210edd7cae4026e3a2ee472cf2fa751a0f77.tar.bz2 chat-9c36210edd7cae4026e3a2ee472cf2fa751a0f77.zip |
Merge pull request #2556 from asaadmahmoodspin/ui-improvements
Multiple UI improvements
Diffstat (limited to 'webapp/components/user_settings/user_settings_general.jsx')
-rw-r--r-- | webapp/components/user_settings/user_settings_general.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/user_settings/user_settings_general.jsx b/webapp/components/user_settings/user_settings_general.jsx index 2129847aa..87cce9dc0 100644 --- a/webapp/components/user_settings/user_settings_general.jsx +++ b/webapp/components/user_settings/user_settings_general.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 SettingPicture from '../setting_picture.jsx'; @@ -286,6 +287,7 @@ class UserSettingsGeneralTab extends React.Component { } } updateSection(section) { + $('.settings-modal .modal-body').scrollTop(0).perfectScrollbar('update'); const emailChangeInProgress = this.state.emailChangeInProgress; this.setState(Object.assign({}, this.setupInitialState(this.props), {emailChangeInProgress, clientError: '', serverError: '', emailError: ''})); this.submitActive = false; |