mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 17:38:07 +01:00
Fix regression where CW is focused on reply (#7811)
This commit is contained in:
parent
53f0452b70
commit
09147186b7
1 changed files with 1 additions and 3 deletions
|
@ -127,9 +127,7 @@ export default class ComposeForm extends ImmutablePureComponent {
|
||||||
this.autosuggestTextarea.textarea.focus();
|
this.autosuggestTextarea.textarea.focus();
|
||||||
} else if(prevProps.is_submitting && !this.props.is_submitting) {
|
} else if(prevProps.is_submitting && !this.props.is_submitting) {
|
||||||
this.autosuggestTextarea.textarea.focus();
|
this.autosuggestTextarea.textarea.focus();
|
||||||
}
|
} else if (this.props.spoiler !== prevProps.spoiler) {
|
||||||
|
|
||||||
if (this.props.spoiler !== prevProps.spoiler) {
|
|
||||||
if (this.props.spoiler) {
|
if (this.props.spoiler) {
|
||||||
this.spoilerText.focus();
|
this.spoilerText.focus();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue