From ca5440b93df514659eacde4ce562e459643dedc3 Mon Sep 17 00:00:00 2001 From: Lain Iwakura Date: Tue, 14 Nov 2017 17:56:38 +0100 Subject: Rename MAX_CHARS to MAX_TOOT_CHARS to be more specific. --- app/javascript/mastodon/features/compose/components/compose_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/javascript') 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?' }, -- cgit