Browse Source

Fix media description button being disabled at 420 characters instead of 1500 (#11836)

pull/4/head
ThibG 4 years ago
committed by Eugen Rochko
parent
commit
c00ab575b7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/ui/components/focal_point_modal.js

+ 1
- 1
app/javascript/mastodon/features/ui/components/focal_point_modal.js View File

@ -226,7 +226,7 @@ class FocalPointModal extends ImmutablePureComponent {
<CharacterCounter max={1500} text={detecting ? '' : description} />
</div>
<Button disabled={!dirty || detecting || length(description) > 420} text={intl.formatMessage(messages.apply)} onClick={this.handleSubmit} />
<Button disabled={!dirty || detecting || length(description) > 1500} text={intl.formatMessage(messages.apply)} onClick={this.handleSubmit} />
</div>
<div className='focal-point-modal__content'>

Loading…
Cancel
Save