debian-mirror-gitlab/app/assets/javascripts/pages/projects/compare/show/index.js
2021-10-27 15:23:28 +05:30

11 lines
376 B
JavaScript

import Diff from '~/diff';
import GpgBadges from '~/gpg_badges';
import initChangesDropdown from '~/init_changes_dropdown';
import initCompareSelector from '~/projects/compare';
initCompareSelector();
new Diff(); // eslint-disable-line no-new
const paddingTop = 16;
initChangesDropdown(document.querySelector('.navbar-gitlab').offsetHeight - paddingTop);
GpgBadges.fetch();