From 4c28726760836d7d25164cd1b6488819be18c38c Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Tue, 29 Mar 2016 17:03:46 +0500 Subject: Multiple UI Improvements --- webapp/components/user_settings/user_settings_notifications.jsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'webapp/components/user_settings/user_settings_notifications.jsx') diff --git a/webapp/components/user_settings/user_settings_notifications.jsx b/webapp/components/user_settings/user_settings_notifications.jsx index fe2db6727..b119c42f9 100644 --- a/webapp/components/user_settings/user_settings_notifications.jsx +++ b/webapp/components/user_settings/user_settings_notifications.jsx @@ -1,6 +1,7 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. +import $ from 'jquery'; import ReactDOM from 'react-dom'; import SettingItemMin from '../setting_item_min.jsx'; import SettingItemMax from '../setting_item_max.jsx'; @@ -162,6 +163,7 @@ class NotificationsTab extends React.Component { this.updateState(); this.props.updateSection(''); e.preventDefault(); + $('.settings-modal .modal-body').scrollTop(0).perfectScrollbar('update'); } updateSection(section) { this.updateState(); -- cgit v1.2.3-1-g7c22