diff options
author | Asaad Mahmood <asaad@spinpunch.com> | 2015-12-11 20:10:52 +0500 |
---|---|---|
committer | Asaad Mahmood <asaad@spinpunch.com> | 2015-12-11 20:10:52 +0500 |
commit | 8236bde848a1e38d3cbfc5a2d5c2f191e03dba0e (patch) | |
tree | 8544f2dbe33854d6e677f1572e07ec00dded73d7 /web | |
parent | 2e19d529aa1f7c0eac7b26596e657b7820944c17 (diff) | |
download | chat-8236bde848a1e38d3cbfc5a2d5c2f191e03dba0e.tar.gz chat-8236bde848a1e38d3cbfc5a2d5c2f191e03dba0e.tar.bz2 chat-8236bde848a1e38d3cbfc5a2d5c2f191e03dba0e.zip |
Updating direct messages code
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/more_direct_channels.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/more_direct_channels.jsx b/web/react/components/more_direct_channels.jsx index c14bec52b..f66eb7c26 100644 --- a/web/react/components/more_direct_channels.jsx +++ b/web/react/components/more_direct_channels.jsx @@ -54,7 +54,7 @@ export default class MoreDirectChannels extends React.Component { } onShow() { - if ($(window).width() > 768) { + if (!Utils.isMobile()) { $(ReactDOM.findDOMNode(this.refs.userList)).perfectScrollbar(); $(ReactDOM.findDOMNode(this.refs.userList)).css('max-height', $(window).height() - 300); } else { |