Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstance Okoghenun <constanceokoghenun@gmail.com>2019-01-07 15:06:42 +0300
committerConstance Okoghenun <constanceokoghenun@gmail.com>2019-01-07 15:06:42 +0300
commit64fcda29f6ed95aa2664f4478b4dc487c3c63459 (patch)
treed7c9958aa532d753bdfeabdfc313c47066b15af5 /app/assets/javascripts/gl_form.js
parent465b3041e71f2e454d9e7d6c154455f5ece14f38 (diff)
Removed discard comment button
Removed the button and associated tests form notes on Issues and Merge request page.
Diffstat (limited to 'app/assets/javascripts/gl_form.js')
-rw-r--r--app/assets/javascripts/gl_form.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/javascripts/gl_form.js b/app/assets/javascripts/gl_form.js
index f842d2d74db..f5e2e46237f 100644
--- a/app/assets/javascripts/gl_form.js
+++ b/app/assets/javascripts/gl_form.js
@@ -51,8 +51,6 @@ export default class GLForm {
// form and textarea event listeners
this.addEventListeners();
addMarkdownListeners(this.form);
- // hide discard button
- this.form.find('.js-note-discard').hide();
this.form.show();
if (this.isAutosizeable) this.setupAutosize();
}