From: Thibaut Girka Date: Thu, 6 Jun 2019 10:14:11 +0000 (+0200) Subject: Fix CW field automatically getting the focus when it is always enabled X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=a7f6e72b307c2018ae1de3c301f8ac437b7bdfbe;p=mastodon.git Fix CW field automatically getting the focus when it is always enabled --- diff --git a/app/javascript/flavours/glitch/features/compose/components/compose_form.js b/app/javascript/flavours/glitch/features/compose/components/compose_form.js index e8f000b1e..cc82a50d4 100644 --- a/app/javascript/flavours/glitch/features/compose/components/compose_form.js +++ b/app/javascript/flavours/glitch/features/compose/components/compose_form.js @@ -323,6 +323,7 @@ class ComposeForm extends ImmutablePureComponent { searchTokens={[':']} id='glitch.composer.spoiler.input' className='spoiler-input__input' + autoFocus={false} />