]> cat aescling's git repositories - mastodon.git/commitdiff
Autofocus comment textarea in report modal (#8689)
authorThibG <thib@sitedethib.com>
Thu, 13 Sep 2018 13:27:29 +0000 (15:27 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 13 Sep 2018 13:27:29 +0000 (15:27 +0200)
app/javascript/mastodon/features/ui/components/report_modal.js

index 90f0013197060e5af37ccfb0d3d6a745d8144147..1962d4ae9f9dd770924bb5d5ea16831dd620de8b 100644 (file)
@@ -106,6 +106,7 @@ export default class ReportModal extends ImmutablePureComponent {
               onChange={this.handleCommentChange}
               onKeyDown={this.handleKeyDown}
               disabled={isSubmitting}
+              autoFocus
             />
 
             {domain && (