From 646214b49b47752cf170d7e6677e9464c2a3f786 Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Mon, 17 Aug 2015 11:35:30 -0400
Subject: Revert "Mm 1640 Fixed odd scrolling issues on channel refresh"

---
 web/react/utils/utils.jsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'web/react/utils/utils.jsx')

diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index d29930aaf..7591c138f 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -313,6 +313,8 @@ var getYoutubeEmbed = function(link) {
         var metadata = data.items[0].snippet;
         $('.video-uploader.'+youtubeId).html(metadata.channelTitle);
         $('.video-title.'+youtubeId).find('a').html(metadata.title);
+        $(".post-list-holder-by-time").scrollTop($(".post-list-holder-by-time")[0].scrollHeight);
+        $(".post-list-holder-by-time").perfectScrollbar('update');
     };
 
     if(config.GoogleDeveloperKey) {
-- 
cgit v1.2.3-1-g7c22

