about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-09-14 00:52:56 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-09-14 00:52:56 +0200
commitc00ab575b7450f133946fb94d7367b5d810a2d89 (patch)
treea59224d0e49ea997ea348f6906a168e32f745070
parentcfd4c55c8825f301f88cf5d90afe36a10d590329 (diff)
Fix media description button being disabled at 420 characters instead of 1500 (#11836)
-rw-r--r--app/javascript/mastodon/features/ui/components/focal_point_modal.js2
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'>