diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-07-27 11:30:14 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-27 11:30:14 +0300 |
commit | c58023858182b300fbbb1a6ad192f8ea975bfe98 (patch) | |
tree | 14559835018dbc1ed56a0f406aa8e4ef8d5b5b73 /app/assets/javascripts/how_to_merge.js | |
parent | 6e2ebfa29d6f65b77238d4e3275fce7dc1702018 (diff) |
Inline JS Removal for Merge Requests
Diffstat (limited to 'app/assets/javascripts/how_to_merge.js')
-rw-r--r-- | app/assets/javascripts/how_to_merge.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/how_to_merge.js b/app/assets/javascripts/how_to_merge.js index f739db751a6..19f4a946f73 100644 --- a/app/assets/javascripts/how_to_merge.js +++ b/app/assets/javascripts/how_to_merge.js @@ -3,10 +3,10 @@ document.addEventListener('DOMContentLoaded', () => { modal: true, show: false, }); - $('.how_to_merge_link').bind('click', () => { + $('.how_to_merge_link').on('click', () => { modal.show(); }); - $('.modal-header .close').bind('click', () => { + $('.modal-header .close').on('click', () => { modal.hide(); }); }); |