Welcome to mirror list, hosted at ThFree Co, Russian Federation.

how_to_merge.js « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bb734246584aa3fd44575be2ca190b70c5f8543d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import $ from 'jquery';

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);
  }
};