diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-10-19 20:10:33 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-10-19 20:10:33 +0500 |
commit | cbbfe0112bf0d795d3c51382d6fddf5b20d19736 (patch) | |
tree | 6ac39f90804c04a64d8d5aee1baac25b456eb51c /web/react/components | |
parent | 814aa57fc1cebd1e430e36102d8b3c3830351cb8 (diff) | |
download | chat-cbbfe0112bf0d795d3c51382d6fddf5b20d19736.tar.gz chat-cbbfe0112bf0d795d3c51382d6fddf5b20d19736.tar.bz2 chat-cbbfe0112bf0d795d3c51382d6fddf5b20d19736.zip |
Updating scroll on admin console
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/admin_console/admin_sidebar.jsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/react/components/admin_console/admin_sidebar.jsx b/web/react/components/admin_console/admin_sidebar.jsx index 4c2a473b6..24913ab87 100644 --- a/web/react/components/admin_console/admin_sidebar.jsx +++ b/web/react/components/admin_console/admin_sidebar.jsx @@ -53,6 +53,9 @@ export default class AdminSidebar extends React.Component { } componentDidMount() { + if ($(window).width() > 768) { + $('.nav-pills__container').perfectScrollbar(); + } } showTeamSelect(e) { |