From e60f6f3b137839ed603a1b5d45cf658b6570ff91 Mon Sep 17 00:00:00 2001
From: Asaad Mahmood <asaad@spinpunch.com>
Date: Wed, 23 Mar 2016 04:06:08 +0500
Subject: Multiple UI improvements

---
 webapp/components/rhs_thread.jsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'webapp/components/rhs_thread.jsx')

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]) {
-- 
cgit v1.2.3-1-g7c22

