Fix maxCharacters in vanilla front-end

master
Thibaut Girka 6 years ago committed by ThibG
parent 3b05eb8002
commit abffbba819
  1. 2
      app/javascript/mastodon/initial_state.js

@ -11,7 +11,7 @@ export const boostModal = getMeta('boost_modal');
export const deleteModal = getMeta('delete_modal');
export const me = getMeta('me');
export const searchEnabled = getMeta('search_enabled');
export const maxChars = getMeta('max_toot_chars') || 500;
export const maxChars = (initialState && initialState.max_toot_chars) || 500;
export const invitesEnabled = getMeta('invites_enabled');
export const version = getMeta('version');

Loading…
Cancel
Save