summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-05-03 06:16:16 -0500
committerEric Eastwood <contact@ericeastwood.com>2017-05-03 06:16:16 -0500
commit8567380e929bc6ae520fcff73e1c1038d9803d04 (patch)
treeb8d1eda31d19bc8fb969ed95cbefd43596a55e58
parent9dd543fb5112b20560a4cdb1c819dde97b04b6ec (diff)
downloadgitlab-ce-30458-real-time-note-edits.tar.gz
Fix note textarea focus styles after edit30458-real-time-note-edits
-rw-r--r--app/assets/javascripts/gl_form.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/gl_form.js b/app/assets/javascripts/gl_form.js
index ff10f19a4fe..ff06092e4d6 100644
--- a/app/assets/javascripts/gl_form.js
+++ b/app/assets/javascripts/gl_form.js
@@ -34,9 +34,9 @@ GLForm.prototype.setupForm = function() {
gl.GfmAutoComplete.setup(this.form.find('.js-gfm-input'));
new DropzoneInput(this.form);
autosize(this.textarea);
- // form and textarea event listeners
- this.addEventListeners();
}
+ // form and textarea event listeners
+ this.addEventListeners();
gl.text.init(this.form);
// hide discard button
this.form.find('.js-note-discard').hide();