diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-07-09 02:53:07 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-07-09 02:53:07 +0500 |
commit | a533ff4d71cd6416d959ae970cded679242ba3e8 (patch) | |
tree | b47883dc879ddb55aa262f3e5b53e3053afe9ab6 /web/react/components | |
parent | de742baac09726fe2ef9f7274d260950a6828589 (diff) | |
download | chat-a533ff4d71cd6416d959ae970cded679242ba3e8.tar.gz chat-a533ff4d71cd6416d959ae970cded679242ba3e8.tar.bz2 chat-a533ff4d71cd6416d959ae970cded679242ba3e8.zip |
MM-1444 - Fixing text selection issue
Diffstat (limited to 'web/react/components')
-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() { |