diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-12-09 00:49:32 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-01-04 23:37:54 +0300 |
commit | 183a52f8e1454a0268993baca5b1a6793d9150f9 (patch) | |
tree | 3fc45b11c36c21f44723f0ee335c4aa4a50c009b /app/assets | |
parent | 0143573dd5f8d180b2824433a1ce5cdab42fe3d4 (diff) | |
download | gitlab-ce-183a52f8e1454a0268993baca5b1a6793d9150f9.tar.gz |
Fix single note edit form specs.
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/notes.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 15f4dc9399a..31cb4549711 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -56,7 +56,7 @@ // We are in the Merge Requests page so we need another edit form for Changes tab if (gl.utils.getPagePath(1) === 'merge_requests') { $('.note-edit-form').clone() - .addClass('mr-discussion-edit-form').insertAfter('.note-edit-form'); + .addClass('mr-note-edit-form').insertAfter('.note-edit-form'); } } @@ -569,10 +569,10 @@ }; Notes.prototype.getEditFormSelector = function($el) { - var selector = '.note-edit-form:not(.mr-discussion-edit-form)'; + var selector = '.note-edit-form:not(.mr-note-edit-form)'; if ($el.parents('#diffs').length) { - selector = '.note-edit-form.mr-discussion-edit-form'; + selector = '.note-edit-form.mr-note-edit-form'; } return selector; |