Change alt text reminder to not appear for private mentions in web UI (#33784)

main
Eugen Rochko 23 hours ago committed by GitHub
parent 894b96cf1f
commit d50110a17a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -120,7 +120,7 @@ class ComposeForm extends ImmutablePureComponent {
return; return;
} }
this.props.onSubmit(missingAltTextModal && this.props.missingAltText); this.props.onSubmit(missingAltTextModal && this.props.missingAltText && this.props.privacy !== 'direct');
if (e) { if (e) {
e.preventDefault(); e.preventDefault();

Loading…
Cancel
Save