mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Updating direct messages code
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user