]> cat aescling's git repositories - mastodon.git/commitdiff
Fix CW field automatically getting the focus when it is always enabled
authorThibaut Girka <thib@sitedethib.com>
Thu, 6 Jun 2019 10:14:11 +0000 (12:14 +0200)
committerThibG <thib@sitedethib.com>
Thu, 6 Jun 2019 11:26:42 +0000 (13:26 +0200)
app/javascript/flavours/glitch/features/compose/components/compose_form.js

index e8f000b1ec4a1fff5b56e7e16a4033fdebe98a2c..cc82a50d436c0eef40a812a992729ecb66d6e4bd 100644 (file)
@@ -323,6 +323,7 @@ class ComposeForm extends ImmutablePureComponent {
             searchTokens={[':']}
             id='glitch.composer.spoiler.input'
             className='spoiler-input__input'
+            autoFocus={false}
           />
         </div>