diff options
author | Corey Hulen <corey@hulen.com> | 2015-08-30 20:57:37 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-08-30 20:57:37 -0700 |
commit | 9ed32b2128c26db1417b6e2b6d03337f8fb373a4 (patch) | |
tree | 7a35f2510975a4cfb2406e3a8476128d8702ef3b /web/react/components/post_list.jsx | |
parent | 8e13983279d8b5b7a673f1b46272832073a46cb6 (diff) | |
parent | 5588a2a90998f5548a61c683ca05a1332e9b0abf (diff) | |
download | chat-9ed32b2128c26db1417b6e2b6d03337f8fb373a4.tar.gz chat-9ed32b2128c26db1417b6e2b6d03337f8fb373a4.tar.bz2 chat-9ed32b2128c26db1417b6e2b6d03337f8fb373a4.zip |
Merge pull request #518 from asaadmahmoodspin/MM-2046
MM-2046 - Updating postHolder scroll
Diffstat (limited to 'web/react/components/post_list.jsx')
-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 2b542c4b7..f8cfdb2ab 100644 --- a/web/react/components/post_list.jsx +++ b/web/react/components/post_list.jsx @@ -105,6 +105,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) { |