summaryrefslogtreecommitdiffstats
path: root/web/react/components/settings_sidebar.jsx
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-10-25 22:42:38 -0700
committer=Corey Hulen <corey@hulen.com>2015-10-25 22:42:38 -0700
commit70b5918734d996a2b5b3710c2ed519f77f4764d4 (patch)
tree12aac9f88de68cb79404a3985e6bfe774ad8f066 /web/react/components/settings_sidebar.jsx
parent473221dbada7ad7739d6a969d9d3d5c9c276941b (diff)
parentae2898107d275176126ab07ca1886fd7fd7ddad4 (diff)
downloadchat-70b5918734d996a2b5b3710c2ed519f77f4764d4.tar.gz
chat-70b5918734d996a2b5b3710c2ed519f77f4764d4.tar.bz2
chat-70b5918734d996a2b5b3710c2ed519f77f4764d4.zip
Merge branch 'master' into PLT-25
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);