diff options
| author | Phil Hughes <me@iamphill.com> | 2016-03-18 11:36:48 +0000 |
|---|---|---|
| committer | Phil Hughes <me@iamphill.com> | 2016-03-18 11:36:48 +0000 |
| commit | 4885423feadb563a8474b8c01415527a28c8ef9b (patch) | |
| tree | a57fa0ca5b9728c7ba81dda99e1b188267b04582 | |
| parent | fde975facc37c7d2f7ea5c997624bc7c0f5759a8 (diff) | |
| download | gitlab-ce-fix-mr-close-button.tar.gz | |
Fixes issue with close button not working on MRfix-mr-close-button
Closes #14383
| -rw-r--r-- | app/assets/javascripts/notes.js.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/notes.js.coffee b/app/assets/javascripts/notes.js.coffee index b164231e7ef..82532216589 100644 --- a/app/assets/javascripts/notes.js.coffee +++ b/app/assets/javascripts/notes.js.coffee @@ -627,10 +627,10 @@ class @Notes if closebtn.text() isnt closetext closebtn.text(closetext) - if reopenbtn.is(':not(.btn-comment-and-reopen)') + if reopenbtn.is('.btn-comment-and-reopen') reopenbtn.removeClass('btn-comment-and-reopen') - if closebtn.is(':not(.btn-comment-and-close)') + if closebtn.is('.btn-comment-and-close') closebtn.removeClass('btn-comment-and-close') if discardbtn.is(':visible') |
