From 932f479a34bb646caadf4023072e6c9010c43585 Mon Sep 17 00:00:00 2001 From: Claire Date: Sat, 15 Nov 2025 12:03:56 +0100 Subject: [PATCH] Fix missing alt-text confirmation modal not opening (#3281) --- .../glitch/features/compose/components/compose_form.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, });