PLT-5772: Use standardised javascript method instead of Chrome-only one. (#5708)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
270ac11365
Коммит
d79c40f330
@@ -349,7 +349,7 @@ export default class CreateComment extends React.Component {
|
|||||||
PostStore.storeCommentDraft(this.props.rootId, draft);
|
PostStore.storeCommentDraft(this.props.rootId, draft);
|
||||||
|
|
||||||
// Focus on preview if needed
|
// Focus on preview if needed
|
||||||
this.refs.preview.refs.container.scrollIntoViewIfNeeded();
|
this.refs.preview.refs.container.scrollIntoView();
|
||||||
|
|
||||||
const enableAddButton = this.handleEnableAddButton(draft.message, draft.fileInfos);
|
const enableAddButton = this.handleEnableAddButton(draft.message, draft.fileInfos);
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user