From a45095c0b6de02779e9beab655ab9cbd65fe4295 Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Fri, 25 Sep 2015 09:03:07 -0400
Subject: Fixes youtube videos causing random scrolling.

---
 web/react/utils/utils.jsx | 1 -
 1 file changed, 1 deletion(-)

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

diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 50438c6cf..6688436de 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -314,7 +314,6 @@ function getYoutubeEmbed(link) {
         $('.video-type.' + youtubeId).html('Youtube - ');
         $('.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);
     }
 
     if (global.window.config.GoogleDeveloperKey) {
-- 
cgit v1.2.3-1-g7c22

