diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-11-28 15:35:01 -0600 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-12-05 16:05:45 -0600 |
commit | 6d61b4046b976400bb242f85034c06f69acbff51 (patch) | |
tree | a519885d19bd1e80574fd5a6441e90546dfea538 /app/assets/javascripts | |
parent | ca95ee6264325efdd62890c320f8dd4b40657432 (diff) | |
download | gitlab-ce-6d61b4046b976400bb242f85034c06f69acbff51.tar.gz |
Generalize detail page headers40543-generalize-detail-page-headers
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/40543
Bug introduced in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15192
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/merge_request.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/merge_request.js b/app/assets/javascripts/merge_request.js index d30ff12bb59..a9c08df4f93 100644 --- a/app/assets/javascripts/merge_request.js +++ b/app/assets/javascripts/merge_request.js @@ -129,7 +129,7 @@ import { addDelimiter } from './lib/utils/text_utility'; }; MergeRequest.prototype.hideCloseButton = function() { - const el = document.querySelector('.merge-request .issuable-actions'); + const el = document.querySelector('.merge-request .js-issuable-actions'); const closeDropdownItem = el.querySelector('li.close-item'); if (closeDropdownItem) { closeDropdownItem.classList.add('hidden'); |