about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-09-13 12:05:18 +0200
committerThibG <thib@sitedethib.com>2018-09-13 17:03:48 +0200
commit1cb3af21c5bb8f944a88c4e89ab28ff6b7e02552 (patch)
treeb76887f8048c64b35451a813fb6bb560928d1497 /app/javascript/flavours
parentb3c698d6f4c0e35006173877db750841f96a2674 (diff)
Autofocus comment textarea in report modal
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/features/ui/components/report_modal.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/ui/components/report_modal.js b/app/javascript/flavours/glitch/features/ui/components/report_modal.js
index 81643b6c2..a139394ac 100644
--- a/app/javascript/flavours/glitch/features/ui/components/report_modal.js
+++ b/app/javascript/flavours/glitch/features/ui/components/report_modal.js
@@ -106,6 +106,7 @@ export default class ReportModal extends ImmutablePureComponent {
               onChange={this.handleCommentChange}
               onKeyDown={this.handleKeyDown}
               disabled={isSubmitting}
+              autoFocus
             />
 
             {domain && (