about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/compose/components/upload.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-09-29 02:30:00 +0200
committerGitHub <noreply@github.com>2017-09-29 02:30:00 +0200
commit887cd94e963f49523af80d845cfe0ea900f7dadf (patch)
treeb55ceb9c6c6a5f603b515ef3457cdb26e90e8f4e /app/javascript/mastodon/features/compose/components/upload.js
parentd2f56d1cbc7ef985c2565ccc899a1a4f3c07e524 (diff)
Increase attachment descriptions to 420 characters (#5139)
Blaze it
Diffstat (limited to 'app/javascript/mastodon/features/compose/components/upload.js')
-rw-r--r--app/javascript/mastodon/features/compose/components/upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/upload.js b/app/javascript/mastodon/features/compose/components/upload.js
index c2bf3b72e..cd9e08360 100644
--- a/app/javascript/mastodon/features/compose/components/upload.js
+++ b/app/javascript/mastodon/features/compose/components/upload.js
@@ -79,7 +79,7 @@ export default class Upload extends ImmutablePureComponent {
                     placeholder={intl.formatMessage(messages.description)}
                     type='text'
                     value={description}
-                    maxLength={140}
+                    maxLength={420}
                     onFocus={this.handleInputFocus}
                     onChange={this.handleInputChange}
                     onBlur={this.handleInputBlur}