summaryrefslogtreecommitdiffstats
path: root/web/react/components/admin_console/admin_sidebar.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-10-19 11:42:25 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-10-19 11:42:25 -0400
commit00c06fac43ff85c64f7c8eaf109aa66e479ea7c1 (patch)
tree14a4a90129af5a983ff38138c98009cd803eb21c /web/react/components/admin_console/admin_sidebar.jsx
parentb6340b4c2c313917d31213ac09f4a26f72494953 (diff)
parentcbbfe0112bf0d795d3c51382d6fddf5b20d19736 (diff)
downloadchat-00c06fac43ff85c64f7c8eaf109aa66e479ea7c1.tar.gz
chat-00c06fac43ff85c64f7c8eaf109aa66e479ea7c1.tar.bz2
chat-00c06fac43ff85c64f7c8eaf109aa66e479ea7c1.zip
Merge pull request #1107 from asaadmahmoodspin/ui-improvements
Updating scroll on admin console
Diffstat (limited to 'web/react/components/admin_console/admin_sidebar.jsx')
-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 c7faa83fe..b0e01ff17 100644
--- a/web/react/components/admin_console/admin_sidebar.jsx
+++ b/web/react/components/admin_console/admin_sidebar.jsx
@@ -54,6 +54,9 @@ export default class AdminSidebar extends React.Component {
}
componentDidMount() {
+ if ($(window).width() > 768) {
+ $('.nav-pills__container').perfectScrollbar();
+ }
}
showTeamSelect(e) {