From 6754caed3c28e47269d4605f325040339fab1cab Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Sat, 16 Jan 2016 22:17:57 -0500 Subject: Autosize the textarea in showEditForm [ci skip] --- app/assets/javascripts/notes.js.coffee | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1