gitlab-org--gitlab-foss/app/assets/javascripts/how_to_merge.js
2017-07-27 08:30:14 +00:00

12 lines
287 B
JavaScript

document.addEventListener('DOMContentLoaded', () => {
const modal = $('#modal_merge_info').modal({
modal: true,
show: false,
});
$('.how_to_merge_link').on('click', () => {
modal.show();
});
$('.modal-header .close').on('click', () => {
modal.hide();
});
});