Этот коммит содержится в:
Joram Wilander
2017-07-05 16:20:09 -04:00
коммит произвёл GitHub
родитель 039271394e
Коммит dd78a3f1fa
3 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@@ -70,7 +70,7 @@ export default class PostBody extends React.PureComponent {
let comment = ''; let comment = '';
let postClass = ''; let postClass = '';
if (parentPost && this.props.parentPostUser) { if (parentPost) {
const profile = this.props.parentPostUser; const profile = this.props.parentPostUser;
let apostrophe = ''; let apostrophe = '';

Просмотреть файл

@@ -153,7 +153,7 @@ export default class PostBodyAdditionalContent extends React.PureComponent {
} }
const link = Utils.extractFirstLink(this.props.post.message); const link = Utils.extractFirstLink(this.props.post.message);
if (link && Utils.isFeatureEnabled(Constants.PRE_RELEASE_FEATURES.EMBED_PREVIEW)) { if (link && Utils.isFeatureEnabled(Constants.PRE_RELEASE_FEATURES.EMBED_PREVIEW) && global.window.mm_config.EnableLinkPreviews === 'true') {
return ( return (
<PostAttachmentOpenGraph <PostAttachmentOpenGraph
link={link} link={link}

Просмотреть файл

@@ -297,7 +297,6 @@ export default class PostList extends React.PureComponent {
} }
handleScroll = () => { handleScroll = () => {
this.hasScrolledToFocusedPost = true;
this.hasScrolled = true; this.hasScrolled = true;
this.previousScrollTop = this.refs.postlist.scrollTop; this.previousScrollTop = this.refs.postlist.scrollTop;