Fix missing alt-text confirmation modal not opening (#3281)

This commit is contained in:
Claire 2025-11-15 12:03:56 +01:00 committed by GitHub
parent 8839ecf2a4
commit 932f479a34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
});