summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-09-25 09:03:07 -0400
committerJoramWilander <jwawilander@gmail.com>2015-09-25 09:03:07 -0400
commita45095c0b6de02779e9beab655ab9cbd65fe4295 (patch)
tree205fbfdea32844142501cd1487c567dd7e9171d5 /web/react/utils
parent5b3cc2a4e7891e0f9786444b9f001e7098896713 (diff)
downloadchat-a45095c0b6de02779e9beab655ab9cbd65fe4295.tar.gz
chat-a45095c0b6de02779e9beab655ab9cbd65fe4295.tar.bz2
chat-a45095c0b6de02779e9beab655ab9cbd65fe4295.zip
Fixes youtube videos causing random scrolling.
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/utils.jsx1
1 files changed, 0 insertions, 1 deletions
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) {