diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-01-24 18:49:21 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2023-01-24 20:40:48 +0100 |
commit | 853d0f28c56ebf20536db9b90259fbe2816089b7 (patch) | |
tree | 8e5c19b853dda9b686a3c250a75e09011432159e /app/javascript/flavours/glitch/features/compose/containers | |
parent | 78b822c61d19bc258117a7b186da491c9f793a2e (diff) |
[Glitch] Add lang attribute to compose textarea and CW field
Port 83a8efa9cad7384e6659bd6c17e4865405f51577 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/containers')
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js b/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js index d12c98c01..8f2947672 100644 --- a/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js +++ b/app/javascript/flavours/glitch/features/compose/containers/compose_form_container.js @@ -70,6 +70,7 @@ function mapStateToProps (state) { mediaDescriptionConfirmation: state.getIn(['local_settings', 'confirm_missing_media_description']), preselectOnReply: state.getIn(['local_settings', 'preselect_on_reply']), isInReply: state.getIn(['compose', 'in_reply_to']) !== null, + lang: state.getIn(['compose', 'language']), }; }; |