Merge pull request #803 from mattermost/plt-405
PLT-405 Fixes youtube videos causing random scrolling.
Этот коммит содержится в:
@@ -314,7 +314,6 @@ function getYoutubeEmbed(link) {
|
|||||||
$('.video-type.' + youtubeId).html('Youtube - ');
|
$('.video-type.' + youtubeId).html('Youtube - ');
|
||||||
$('.video-uploader.' + youtubeId).html(metadata.channelTitle);
|
$('.video-uploader.' + youtubeId).html(metadata.channelTitle);
|
||||||
$('.video-title.' + youtubeId).find('a').html(metadata.title);
|
$('.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) {
|
if (global.window.config.GoogleDeveloperKey) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user