about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorLain Iwakura <lain@soykaf.club>2017-11-14 17:56:38 +0100
committerLain Iwakura <lain@soykaf.club>2017-11-14 17:56:38 +0100
commitca5440b93df514659eacde4ce562e459643dedc3 (patch)
tree31ab1d8fad8d6ecf7897eda673c4d76646532409 /app/javascript
parentdae8916544d0a9cee5d998b10bc5cf36f144b727 (diff)
Rename MAX_CHARS to MAX_TOOT_CHARS to be more specific.
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/compose/components/compose_form.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/compose_form.js b/app/javascript/mastodon/features/compose/components/compose_form.js
index b7a7447c4..1d0126dbe 100644
--- a/app/javascript/mastodon/features/compose/components/compose_form.js
+++ b/app/javascript/mastodon/features/compose/components/compose_form.js
@@ -20,7 +20,7 @@ import { length } from 'stringz';
 import { countableText } from '../util/counter';
 import initialState from '../../../initial_state';
 
-const maxChars = initialState.max_chars;
+const maxChars = initialState.max_toot_chars;
 
 const messages = defineMessages({
   placeholder: { id: 'compose_form.placeholder', defaultMessage: 'What is on your mind?' },