From 78666f04d02c9da27bc94cced69f1ce6d5121689 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Wed, 22 Jul 2015 21:10:00 +0500 Subject: Adjusting scroll in RHS to not show whitespace --- web/react/components/post_right.jsx | 1 + 1 file changed, 1 insertion(+) (limited to 'web/react/components') diff --git a/web/react/components/post_right.jsx b/web/react/components/post_right.jsx index 7315266e6..3a5be4e08 100644 --- a/web/react/components/post_right.jsx +++ b/web/react/components/post_right.jsx @@ -351,6 +351,7 @@ module.exports = React.createClass({ $(".post-right__scroll").css("height", height + "px"); $(".post-right__scroll").scrollTop(100000); $(".post-right__scroll").perfectScrollbar(); + $(".post-right__scroll").perfectScrollbar('update'); }, render: function() { -- cgit v1.2.3-1-g7c22