diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-12-02 10:36:30 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-12-02 10:36:30 -0500 |
commit | 5e51de6f2c9a69a205abe9f8ebd26592809fb0d0 (patch) | |
tree | fa38b9a78feacbd1ab0a1525b1b0b45efb787dcb /web/react | |
parent | 2aa78002fe73d82f67fac83430ce3210749f79a3 (diff) | |
parent | 2494d598649851fc92177749534cc6c2db1694dd (diff) | |
download | chat-5e51de6f2c9a69a205abe9f8ebd26592809fb0d0.tar.gz chat-5e51de6f2c9a69a205abe9f8ebd26592809fb0d0.tar.bz2 chat-5e51de6f2c9a69a205abe9f8ebd26592809fb0d0.zip |
Merge pull request #1576 from mattermost/remove-scroll
Remove perfectscrollbar from center channel
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/posts_view.jsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/web/react/components/posts_view.jsx b/web/react/components/posts_view.jsx index 242b26b91..dc23d6792 100644 --- a/web/react/components/posts_view.jsx +++ b/web/react/components/posts_view.jsx @@ -280,7 +280,6 @@ export default class PostsView extends React.Component { this.updateScrolling(); } window.addEventListener('resize', this.handleResize); - $(this.refs.postlist).perfectScrollbar(); PreferenceStore.addChangeListener(this.updateState); } componentWillUnmount() { @@ -291,7 +290,6 @@ export default class PostsView extends React.Component { if (this.props.postList != null) { this.updateScrolling(); } - $(this.refs.postlist).perfectScrollbar('update'); } shouldComponentUpdate(nextProps, nextState) { if (this.props.isActive !== nextProps.isActive) { @@ -373,7 +371,7 @@ export default class PostsView extends React.Component { return ( <div ref='postlist' - className={'ps-container post-list-holder-by-time ' + activeClass} + className={'post-list-holder-by-time ' + activeClass} onScroll={this.handleScroll} > <div className='post-list__table'> |