summaryrefslogtreecommitdiffstats
path: root/web/react/components/settings_sidebar.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-10-23 19:59:32 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-10-23 19:59:32 +0500
commitdb4273d3570cc818f64e144558380b24d21ed949 (patch)
treefb5be1555031c05c511b75ce43bd44edf8debb32 /web/react/components/settings_sidebar.jsx
parent546583dea2a20bbe740e68fb1e2263ed9b91aad7 (diff)
downloadchat-db4273d3570cc818f64e144558380b24d21ed949.tar.gz
chat-db4273d3570cc818f64e144558380b24d21ed949.tar.bz2
chat-db4273d3570cc818f64e144558380b24d21ed949.zip
Multiple UI Improvements
Diffstat (limited to 'web/react/components/settings_sidebar.jsx')
-rw-r--r--web/react/components/settings_sidebar.jsx4
1 files changed, 4 insertions, 0 deletions
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);