8 lines
305 B
JavaScript
8 lines
305 B
JavaScript
import Diff from '~/diff';
|
|
import initChangesDropdown from '~/init_changes_dropdown';
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
new Diff(); // eslint-disable-line no-new
|
|
const paddingTop = 16;
|
|
initChangesDropdown(document.querySelector('.navbar-gitlab').offsetHeight - paddingTop);
|
|
});
|