Commit b1ab075f authored by Denys Mishunov's avatar Denys Mishunov

Merge branch 'remove-DOMContentLoaded-Events-from-pipelines' into 'master'

Remove DOMContentLoaded Eventlistener

See merge request gitlab-org/gitlab!47535
parents c55203ae 35c3f6fe
import '~/pages/projects/pipelines/index/index'; import '~/pages/projects/pipelines/index/index';
import initVueAlerts from '~/vue_alerts'; import initVueAlerts from '~/vue_alerts';
document.addEventListener('DOMContentLoaded', initVueAlerts); initVueAlerts();
...@@ -4,10 +4,8 @@ import initPipelines from '~/pages/projects/pipelines/init_pipelines'; ...@@ -4,10 +4,8 @@ import initPipelines from '~/pages/projects/pipelines/init_pipelines';
import initLicenseReport from './license_report'; import initLicenseReport from './license_report';
import initCodequalityReport from './codequality_report'; import initCodequalityReport from './codequality_report';
document.addEventListener('DOMContentLoaded', () => { initPipelines();
initPipelines(); initPipelineDetails();
initPipelineDetails(); initPipelineSecurityDashboard();
initPipelineSecurityDashboard(); initLicenseReport();
initLicenseReport(); initCodequalityReport();
initCodequalityReport();
});
import initPipelineSecurityDashboard from 'ee/security_dashboard/pipeline_init'; 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