From db4273d3570cc818f64e144558380b24d21ed949 Mon Sep 17 00:00:00 2001
From: Asaad Mahmood <Unknowngi@live.com>
Date: Fri, 23 Oct 2015 19:59:32 +0500
Subject: Multiple UI Improvements

---
 web/react/components/settings_sidebar.jsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'web/react/components/settings_sidebar.jsx')

diff --git a/web/react/components/settings_sidebar.jsx b/web/react/components/settings_sidebar.jsx
index 66568e1c8..4af46c35a 100644
--- a/web/react/components/settings_sidebar.jsx
+++ b/web/react/components/settings_sidebar.jsx
@@ -2,6 +2,10 @@
 // See License.txt for license information.
 
 export default class SettingsSidebar extends React.Component {
+    componentDidUpdate() {
+        $('.settings-modal').find('.modal-body').scrollTop(0);
+        $('.settings-modal').find('.modal-body').perfectScrollbar('update');
+    }
     constructor(props) {
         super(props);
 
-- 
cgit v1.2.3-1-g7c22

