summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_thread.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-03-23 16:02:36 -0400
committerJoram Wilander <jwawilander@gmail.com>2016-03-23 16:02:36 -0400
commit6ccef5caf5ff33b765bd488d4f609c4426c7bbf0 (patch)
treea3dc95120cd5113917bb4ec5acab716d645d4d3a /webapp/components/rhs_thread.jsx
parent7af2e6f87a754312809aa044edd062930616401a (diff)
parente60f6f3b137839ed603a1b5d45cf658b6570ff91 (diff)
downloadchat-6ccef5caf5ff33b765bd488d4f609c4426c7bbf0.tar.gz
chat-6ccef5caf5ff33b765bd488d4f609c4426c7bbf0.tar.bz2
chat-6ccef5caf5ff33b765bd488d4f609c4426c7bbf0.zip
Merge pull request #2509 from asaadmahmoodspin/ui-improvements
Multiple UI improvements
Diffstat (limited to 'webapp/components/rhs_thread.jsx')
-rw-r--r--webapp/components/rhs_thread.jsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/webapp/components/rhs_thread.jsx b/webapp/components/rhs_thread.jsx
index 2760765eb..f0324d7ce 100644
--- a/webapp/components/rhs_thread.jsx
+++ b/webapp/components/rhs_thread.jsx
@@ -46,6 +46,9 @@ export default class RhsThread extends React.Component {
window.addEventListener('resize', this.handleResize);
this.mounted = true;
+ if (!Utils.isMobile()) {
+ $('.sidebar--right .post-right__scroll').perfectScrollbar();
+ }
}
componentDidUpdate() {
if ($('.post-right__scroll')[0]) {