diff --git a/app/javascript/flavours/glitch/features/compose/components/compose_form.jsx b/app/javascript/flavours/glitch/features/compose/components/compose_form.jsx index f3f193aea3..4f6cee8845 100644 --- a/app/javascript/flavours/glitch/features/compose/components/compose_form.jsx +++ b/app/javascript/flavours/glitch/features/compose/components/compose_form.jsx @@ -132,9 +132,9 @@ class ComposeForm extends ImmutablePureComponent { e.preventDefault(); this.textareaRef.current?.focus(); } - } + } this.blurOnEscape(e); - } + }; getFulltextForCharacterCounting = () => { return [this.props.spoiler? this.props.spoilerText: '', countableText(this.props.text)].join(''); @@ -159,7 +159,7 @@ class ComposeForm extends ImmutablePureComponent { } this.props.onSubmit({ - missingAltTextModal: missingAltTextModal && this.props.missingAltText && this.props.privacy !== 'direct', + missingAltText: missingAltTextModal && this.props.missingAltText && this.props.privacy !== 'direct', quoteToPrivate: this.props.quoteToPrivate, overridePrivacy, });