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

index.js « show « compare « projects « pages « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a626ed2d30b3297e69603fcdbf8c0264697c0619 (plain)
1
2
3
4
5
6
7
8
9
10
import Diff from '~/diff';
import initChangesDropdown from '~/init_changes_dropdown';
import GpgBadges from '~/gpg_badges';

document.addEventListener('DOMContentLoaded', () => {
  new Diff(); // eslint-disable-line no-new
  const paddingTop = 16;
  initChangesDropdown(document.querySelector('.navbar-gitlab').offsetHeight - paddingTop);
  GpgBadges.fetch();
});