Commit 35c3f6fe authored by Jannik Lehmann's avatar Jannik Lehmann Committed by Denys Mishunov

Remove DOMContentLoaded Eventlistener

parent cf97630e
import '~/pages/projects/pipelines/index/index';
import initVueAlerts from '~/vue_alerts';
document.addEventListener('DOMContentLoaded', initVueAlerts);
initVueAlerts();
......@@ -4,10 +4,8 @@ import initPipelines from '~/pages/projects/pipelines/init_pipelines';
import initLicenseReport from './license_report';
import initCodequalityReport from './codequality_report';
document.addEventListener('DOMContentLoaded', () => {
initPipelines();
initPipelineDetails();
initPipelineSecurityDashboard();
initLicenseReport();
initCodequalityReport();
});
initPipelines();
initPipelineDetails();
initPipelineSecurityDashboard();
initLicenseReport();
initCodequalityReport();
import initPipelineSecurityDashboard from 'ee/security_dashboard/pipeline_init';
document.addEventListener('DOMContentLoaded', initPipelineSecurityDashboard);
initPipelineSecurityDashboard();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment