about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-06-06 12:14:11 +0200
committerThibG <thib@sitedethib.com>2019-06-06 13:26:42 +0200
commita7f6e72b307c2018ae1de3c301f8ac437b7bdfbe (patch)
treedcb77484591c9981a6c1d4f1ecf182f0b827e94d /app/javascript/flavours/glitch
parentff74aaca7cd532065f24829a3ac16de809bacf3f (diff)
Fix CW field automatically getting the focus when it is always enabled
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/compose_form.js1
1 files changed, 1 insertions, 0 deletions
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}
           />
         </div>