diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-09-25 09:03:07 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-09-25 09:03:07 -0400 |
commit | a45095c0b6de02779e9beab655ab9cbd65fe4295 (patch) | |
tree | 205fbfdea32844142501cd1487c567dd7e9171d5 | |
parent | 5b3cc2a4e7891e0f9786444b9f001e7098896713 (diff) | |
download | chat-a45095c0b6de02779e9beab655ab9cbd65fe4295.tar.gz chat-a45095c0b6de02779e9beab655ab9cbd65fe4295.tar.bz2 chat-a45095c0b6de02779e9beab655ab9cbd65fe4295.zip |
Fixes youtube videos causing random scrolling.
-rw-r--r-- | web/react/utils/utils.jsx | 1 |
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) { |