gitlab-org--gitlab-foss/app/assets/javascripts/how_to_merge.js

14 lines
259 B
JavaScript
Raw Normal View History

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