diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-24 03:10:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-24 03:10:19 +0300 |
commit | e599a00b099025e08ec5f092dd5a31e970cd2098 (patch) | |
tree | 929cf38dcca56ba3c15232bcb18e2af6479b80d4 /app/assets/javascripts/issue.js | |
parent | d6f50f8af1e7adf6e1d38872c88d3c5b71dcfe01 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/issue.js')
-rw-r--r-- | app/assets/javascripts/issue.js | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/app/assets/javascripts/issue.js b/app/assets/javascripts/issue.js index f1b37525a6d..ad0147bdca2 100644 --- a/app/assets/javascripts/issue.js +++ b/app/assets/javascripts/issue.js @@ -173,11 +173,15 @@ export default class Issue { } initIssueWarningBtnEventListener() { - return $(document).on('click', '.js-close-blocked-issue-warning button.btn-secondary', e => { - e.preventDefault(); - e.stopImmediatePropagation(); - this.toggleWarningAndCloseButton(); - }); + return $(document).on( + 'click', + '.js-close-blocked-issue-warning .js-cancel-blocked-issue-warning', + e => { + e.preventDefault(); + e.stopImmediatePropagation(); + this.toggleWarningAndCloseButton(); + }, + ); } initIssueMovedFromServiceDeskDismissHandler() { |