diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-07-09 15:26:20 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-07-09 15:26:20 -0400 |
commit | 763618ef3613d0af6baea0e1d49abb6641979841 (patch) | |
tree | d50327f0fb054224dcc9cc61b9b54df067b6e34e /web/react/components/post_right.jsx | |
parent | b6fb6ea3be059d3c54027267760ccca0f95535ee (diff) | |
parent | 23c40243a4291bac573ccc05d45ad025b9570f62 (diff) | |
download | chat-763618ef3613d0af6baea0e1d49abb6641979841.tar.gz chat-763618ef3613d0af6baea0e1d49abb6641979841.tar.bz2 chat-763618ef3613d0af6baea0e1d49abb6641979841.zip |
Merge pull request #151 from asaadmahmoodspin/master
MM-1469 - Loading message in more channel modal
Diffstat (limited to 'web/react/components/post_right.jsx')
-rw-r--r-- | web/react/components/post_right.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/react/components/post_right.jsx b/web/react/components/post_right.jsx index 2c28c5d9f..115ee87d4 100644 --- a/web/react/components/post_right.jsx +++ b/web/react/components/post_right.jsx @@ -282,7 +282,6 @@ module.exports = React.createClass({ componentDidMount: function() { PostStore.addSelectedPostChangeListener(this._onChange); PostStore.addChangeListener(this._onChangeAll); - $(".post-right__scroll").perfectScrollbar(); this.resize(); var self = this; $(window).resize(function(){ @@ -341,7 +340,7 @@ module.exports = React.createClass({ var height = $(window).height() - $('#error_bar').outerHeight() - 100; $(".post-right__scroll").css("height", height + "px"); $(".post-right__scroll").scrollTop(100000); - $(".post-right__scroll").perfectScrollbar('update'); + $(".post-right__scroll").perfectScrollbar(); }, render: function() { |