Commit 2dddbfac authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'remove-event-listener-for-security-pages' into 'master'

Remove DOMContentLoaded Eventlistener

See merge request gitlab-org/gitlab!47632
parents e9ab64ae bf1a4623
import initInsights from 'ee/insights'; import initInsights from 'ee/insights';
document.addEventListener('DOMContentLoaded', () => { initInsights();
initInsights();
});
import initSecurityConfiguration from 'ee/security_configuration'; import initSecurityConfiguration from 'ee/security_configuration';
document.addEventListener('DOMContentLoaded', initSecurityConfiguration); initSecurityConfiguration();
import initDastProfiles from 'ee/security_configuration/dast_profiles/dast_profiles_bundle'; import initDastProfiles from 'ee/security_configuration/dast_profiles/dast_profiles_bundle';
document.addEventListener('DOMContentLoaded', initDastProfiles); initDastProfiles();
import initCardSecurityDiscover from 'ee/vue_shared/discover/card_security_discover_bundle'; import initCardSecurityDiscover from 'ee/vue_shared/discover/card_security_discover_bundle';
document.addEventListener('DOMContentLoaded', initCardSecurityDiscover); initCardSecurityDiscover();
import initSASTConfiguration from 'ee/security_configuration/sast'; import initSASTConfiguration from 'ee/security_configuration/sast';
document.addEventListener('DOMContentLoaded', initSASTConfiguration); initSASTConfiguration();
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