Skip to content
Snippets Groups Projects
Unverified Commit 09147186 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix regression where CW is focused on reply (#7811)

parent 53f0452b
No related branches found
No related tags found
No related merge requests found
......@@ -127,9 +127,7 @@ export default class ComposeForm extends ImmutablePureComponent {
this.autosuggestTextarea.textarea.focus();
} else if(prevProps.is_submitting && !this.props.is_submitting) {
this.autosuggestTextarea.textarea.focus();
}
if (this.props.spoiler !== prevProps.spoiler) {
} else if (this.props.spoiler !== prevProps.spoiler) {
if (this.props.spoiler) {
this.spoilerText.focus();
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment