diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-01-16 22:17:57 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-16 22:17:57 -0500 |
commit | 6754caed3c28e47269d4605f325040339fab1cab (patch) | |
tree | c8e0504d44c452bd7e39496a1aadf3f2475cd23f | |
parent | b6e1df7ad4cc8854087355eececd0cd12e7eab74 (diff) | |
download | gitlab-ce-6754caed3c28e47269d4605f325040339fab1cab.tar.gz |
Autosize the textarea in showEditForm
[ci skip]
-rw-r--r-- | app/assets/javascripts/notes.js.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes.js.coffee b/app/assets/javascripts/notes.js.coffee index 8866d81c925..2bfc5cb2d9c 100644 --- a/app/assets/javascripts/notes.js.coffee +++ b/app/assets/javascripts/notes.js.coffee @@ -320,6 +320,7 @@ class @Notes form.show() textarea = form.find("textarea") textarea.focus() + autosize(textarea) # HACK (rspeicher/DouweM): Work around a Chrome 43 bug(?). # The textarea has the correct value, Chrome just won't show it unless we |