diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-30 10:28:06 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-04 12:48:49 +0300 |
commit | 0331fa3f3d27dbffdd2144073cf9c62fe7837aa1 (patch) | |
tree | 312002ff8edb97cc5a764a5a44dada3836261c9e /app/assets/javascripts/notes.js.coffee | |
parent | b7f0b22b9fe76f634d9e8cbce03cfaac41f333e6 (diff) |
Restyling on elements in comment form
Diffstat (limited to 'app/assets/javascripts/notes.js.coffee')
-rw-r--r-- | app/assets/javascripts/notes.js.coffee | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/assets/javascripts/notes.js.coffee b/app/assets/javascripts/notes.js.coffee index 9963299988e..24569c4f975 100644 --- a/app/assets/javascripts/notes.js.coffee +++ b/app/assets/javascripts/notes.js.coffee @@ -1,5 +1,4 @@ #= require autosave -#= require autosize #= require dropzone #= require dropzone_input #= require gfm_auto_complete @@ -288,7 +287,6 @@ class @Notes else previewButton.removeClass("turn-on").addClass "turn-off" - autosize(textarea) new Autosave textarea, [ "Note" form.find("#note_commit_id").val() @@ -370,9 +368,6 @@ class @Notes textarea = form.find("textarea") textarea.focus() - if isNewForm - 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 # modify it, so let's clear it and re-set it! |