From 5588a2a90998f5548a61c683ca05a1332e9b0abf Mon Sep 17 00:00:00 2001
From: Asaad Mahmood <Unknowngi@live.com>
Date: Fri, 28 Aug 2015 22:38:52 +0500
Subject: MM-2046 - Updating postHolder scroll

---
 web/react/components/post_list.jsx | 1 +
 1 file changed, 1 insertion(+)

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

diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index 865a22dbd..026cecd17 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -103,6 +103,7 @@ export default class PostList extends React.Component {
             if ($('#create_post').length > 0) {
                 var height = $(window).height() - $('#create_post').height() - $('#error_bar').outerHeight() - 50;
                 postHolder.css('height', height + 'px');
+                postHolder.perfectScrollbar();
             }
 
             if (!this.scrolled) {
-- 
cgit v1.2.3-1-g7c22

