summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-10-19 20:10:33 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-10-19 20:10:33 +0500
commitcbbfe0112bf0d795d3c51382d6fddf5b20d19736 (patch)
tree6ac39f90804c04a64d8d5aee1baac25b456eb51c /web
parent814aa57fc1cebd1e430e36102d8b3c3830351cb8 (diff)
downloadchat-cbbfe0112bf0d795d3c51382d6fddf5b20d19736.tar.gz
chat-cbbfe0112bf0d795d3c51382d6fddf5b20d19736.tar.bz2
chat-cbbfe0112bf0d795d3c51382d6fddf5b20d19736.zip
Updating scroll on admin console
Diffstat (limited to 'web')
-rw-r--r--web/react/components/admin_console/admin_sidebar.jsx3
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) {