summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_thread.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-03-23 04:06:08 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-03-23 18:16:41 +0500
commite60f6f3b137839ed603a1b5d45cf658b6570ff91 (patch)
treedc50cde2a5e5c5732eab5cd11b9d219ce9444f5d /webapp/components/rhs_thread.jsx
parent18b8ae5298f50161ffa55b6d8576a5438fe0091a (diff)
downloadchat-e60f6f3b137839ed603a1b5d45cf658b6570ff91.tar.gz
chat-e60f6f3b137839ed603a1b5d45cf658b6570ff91.tar.bz2
chat-e60f6f3b137839ed603a1b5d45cf658b6570ff91.zip
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]) {