mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-07 21:15:12 +00:00
Revert "increase the MAX_DESCRIPTION_LENGTH of media_attachment"
This reverts commit 58f6e4c36a.
This commit is contained in:
parent
58f6e4c36a
commit
44c6d1d464
2 changed files with 3 additions and 3 deletions
|
|
@ -374,12 +374,12 @@ class FocalPointModal extends ImmutablePureComponent {
|
|||
>
|
||||
<FormattedMessage id='upload_modal.detect_text' defaultMessage='Detect text from picture' />
|
||||
</button>
|
||||
<CharacterCounter max={65536} text={detecting ? '' : description} />
|
||||
<CharacterCounter max={1500} text={detecting ? '' : description} />
|
||||
</div>
|
||||
|
||||
<Button
|
||||
type='submit'
|
||||
disabled={!dirty || detecting || isUploadingThumbnail || length(description) > 65536 || is_changing_upload}
|
||||
disabled={!dirty || detecting || isUploadingThumbnail || length(description) > 1500 || is_changing_upload}
|
||||
text={intl.formatMessage(is_changing_upload ? messages.applying : messages.apply)}
|
||||
/>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue