diff options
author | ThibG <thib@sitedethib.com> | 2019-09-14 00:52:56 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-14 00:52:56 +0200 |
commit | c00ab575b7450f133946fb94d7367b5d810a2d89 (patch) | |
tree | a59224d0e49ea997ea348f6906a168e32f745070 /app/javascript | |
parent | cfd4c55c8825f301f88cf5d90afe36a10d590329 (diff) |
Fix media description button being disabled at 420 characters instead of 1500 (#11836)
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/features/ui/components/focal_point_modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/focal_point_modal.js b/app/javascript/mastodon/features/ui/components/focal_point_modal.js index d13138a76..7891d6690 100644 --- a/app/javascript/mastodon/features/ui/components/focal_point_modal.js +++ b/app/javascript/mastodon/features/ui/components/focal_point_modal.js @@ -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'> |