diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-08 21:10:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-08 21:10:43 +0300 |
commit | 9bcb655610575956a858ae6fdb1d00deef5f6ad8 (patch) | |
tree | 8c2e013c86cf94d2596655bceab865feef53bd38 /app/assets/javascripts/gl_form.js | |
parent | 6e734c809b18a0470d81c78e1ecd9b3f8278de89 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/gl_form.js')
-rw-r--r-- | app/assets/javascripts/gl_form.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/gl_form.js b/app/assets/javascripts/gl_form.js index f34695ef807..3e777c2dc09 100644 --- a/app/assets/javascripts/gl_form.js +++ b/app/assets/javascripts/gl_form.js @@ -67,6 +67,7 @@ export default class GLForm { addMarkdownListeners(this.form); this.form.show(); if (this.isAutosizeable) this.setupAutosize(); + if (this.textarea.data('autofocus') === true) this.textarea.focus(); } setupAutosize() { |