diff options
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/js/index.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js index f5f4841410..0d60c21cca 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -677,6 +677,13 @@ function initIssueComments() { return false; }); + $('.dismiss-review-btn').on('click', function (e) { + e.preventDefault(); + const $this = $(this); + const $dismissReviewModal = $this.next(); + $dismissReviewModal.modal('show'); + }); + $(document).on('click', (event) => { const urlTarget = $(':target'); if (urlTarget.length === 0) return; |