summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-09-25 08:14:20 -0700
committerCorey Hulen <corey@hulen.com>2015-09-25 08:14:20 -0700
commitab7b36089cbe781273fbfc15341b5276c8b3e34b (patch)
tree3124fdb70289b52c89dabf1f876409c0c0ac146b /web/react/utils
parent74ccf423875a5310f11b28f92406572142cd2ed8 (diff)
parenta45095c0b6de02779e9beab655ab9cbd65fe4295 (diff)
downloadchat-ab7b36089cbe781273fbfc15341b5276c8b3e34b.tar.gz
chat-ab7b36089cbe781273fbfc15341b5276c8b3e34b.tar.bz2
chat-ab7b36089cbe781273fbfc15341b5276c8b3e34b.zip
Merge pull request #803 from mattermost/plt-405
PLT-405 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) {