diff options
author | Phil Hughes <me@iamphill.com> | 2017-10-10 12:47:29 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-11 10:41:33 +0300 |
commit | 556ef5ed9f4700a614980bc9aa24c4b45c7efb08 (patch) | |
tree | 29ad76973e6a60185d149b436bd2cc5128b6c0e5 /app/assets/javascripts/notes.js | |
parent | 44d3745e51c7433d2560cdd82c9df9653d3577a3 (diff) |
spec fixes
Diffstat (limited to 'app/assets/javascripts/notes.js')
-rw-r--r-- | app/assets/javascripts/notes.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 2934cfe013c..fae72013957 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -558,7 +558,7 @@ export default class Notes { */ setupNoteForm(form) { var textarea, key; - new GLForm(form, this.enableGFM); + this.glForm = new GLForm(form, this.enableGFM); textarea = form.find('.js-note-text'); key = [ 'Note', @@ -1153,7 +1153,7 @@ export default class Notes { var targetId = $originalContentEl.data('target-id'); var targetType = $originalContentEl.data('target-type'); - new GLForm($editForm.find('form'), this.enableGFM); + this.glForm = new GLForm($editForm.find('form'), this.enableGFM); $editForm.find('form') .attr('action', postUrl) |