diff options
author | Nur Rony <pro.nmrony@gmail.com> | 2017-02-10 20:21:20 +0300 |
---|---|---|
committer | Nur Rony <pro.nmrony@gmail.com> | 2017-02-10 20:21:20 +0300 |
commit | 8d207c6d89d6365c14a43c7f361cfd0192bd3044 (patch) | |
tree | eb3022493add2186a462617c58deddd593257fd7 /app/assets | |
parent | 199b17e5569015bf76ddd9364fc555a3a385c564 (diff) |
fixes MR widget jump
Diffstat (limited to 'app/assets')
-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 8762ec35b80..e65378cd610 100644 --- a/app/assets/javascripts/merge_request.js +++ b/app/assets/javascripts/merge_request.js @@ -115,8 +115,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) { @@ -124,8 +124,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(); }); }; |