diff options
author | Simon Knox <psimyn@gmail.com> | 2017-02-13 22:05:58 +0300 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2017-02-13 22:05:58 +0300 |
commit | 6059fdef5ebdeb8efd592f3c6bbc762d1d2a491f (patch) | |
tree | d9e6614cf5c308426315764438494d80f655c5af /app/assets/javascripts/merge_request.js | |
parent | 3ee13984ce1157b6362a2c0bcb1c1b3e6c48649d (diff) | |
parent | 49e44d88b90939ece219e2cffc11119854306bd9 (diff) |
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into task_list_refactor
Diffstat (limited to 'app/assets/javascripts/merge_request.js')
-rw-r--r-- | app/assets/javascripts/merge_request.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/merge_request.js b/app/assets/javascripts/merge_request.js index 14f424b181c..a72d75379f2 100644 --- a/app/assets/javascripts/merge_request.js +++ b/app/assets/javascripts/merge_request.js @@ -91,8 +91,8 @@ require('./merge_request_tabs'); e.preventDefault(); textarea.val(textarea.data('messageWithDescription')); - $('p.js-with-description-hint').hide(); - $('p.js-without-description-hint').show(); + $('.js-with-description-hint').hide(); + $('.js-without-description-hint').show(); }); $(document).on('click', 'a.js-without-description-link', function(e) { @@ -100,8 +100,8 @@ require('./merge_request_tabs'); e.preventDefault(); textarea.val(textarea.data('messageWithoutDescription')); - $('p.js-with-description-hint').show(); - $('p.js-without-description-hint').hide(); + $('.js-with-description-hint').show(); + $('.js-without-description-hint').hide(); }); }; |