From e6c8958d074c230d5c46b506639dd78cde5473f6 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 60ff881604..20f5a1fb92 100644 --- a/app/javascript/flavours/glitch/features/compose/components/compose_form.jsx +++ b/app/javascript/flavours/glitch/features/compose/components/compose_form.jsx @@ -129,9 +129,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(''); @@ -156,7 +156,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, });