diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-10-15 22:54:15 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-10-15 22:54:15 +0500 |
commit | 95aaa0a08084885c2b0ffb07198d38d5890426ab (patch) | |
tree | a2e728c31982b0903919385a56535341cba1ab84 /web/react/components/sidebar.jsx | |
parent | f09685a37398da7808117b960321a14ab7989da7 (diff) | |
download | chat-95aaa0a08084885c2b0ffb07198d38d5890426ab.tar.gz chat-95aaa0a08084885c2b0ffb07198d38d5890426ab.tar.bz2 chat-95aaa0a08084885c2b0ffb07198d38d5890426ab.zip |
Multiple UI Improvements
Diffstat (limited to 'web/react/components/sidebar.jsx')
-rw-r--r-- | web/react/components/sidebar.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx index 1308165a9..e7d90bb88 100644 --- a/web/react/components/sidebar.jsx +++ b/web/react/components/sidebar.jsx @@ -134,7 +134,9 @@ export default class Sidebar extends React.Component { AsyncClient.getDirectChannelPreferences(); - $('.nav-pills__container').perfectScrollbar(); + if ($(window).width() > 768) { + $('.nav-pills__container').perfectScrollbar(); + } this.updateTitle(); this.updateUnreadIndicators(); |