From 2494d598649851fc92177749534cc6c2db1694dd Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Wed, 2 Dec 2015 10:25:14 -0500 Subject: Remove perfectscrollbar from center channel --- web/react/components/posts_view.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'web/react') 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 (
-- cgit v1.2.3-1-g7c22