diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-08-28 22:38:52 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-08-28 22:38:52 +0500 |
commit | 5588a2a90998f5548a61c683ca05a1332e9b0abf (patch) | |
tree | e35a1943c3312164163c62d65d9d06f53d515ff9 /web | |
parent | bdf53884f567a46216fc1b8f3462fd15ab53ae92 (diff) | |
download | chat-5588a2a90998f5548a61c683ca05a1332e9b0abf.tar.gz chat-5588a2a90998f5548a61c683ca05a1332e9b0abf.tar.bz2 chat-5588a2a90998f5548a61c683ca05a1332e9b0abf.zip |
MM-2046 - Updating postHolder scroll
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/post_list.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |