Commit afee2bc8 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'remove-DOMContentLoaded-EventListeners-for-DAST-and-more' into 'master'

Remove DOMContentLoaded Eventlistener

See merge request gitlab-org/gitlab!47617
parents 9a44484f ab92fbb8
......@@ -18,8 +18,6 @@ function initMembers(el) {
});
}
document.addEventListener('DOMContentLoaded', () => {
const el = document.querySelector('.js-saml-members');
initMembers(el);
initSAML();
});
const el = document.querySelector('.js-saml-members');
initMembers(el);
initSAML();
import initDastScannerProfileForm from 'ee/security_configuration/dast_scanner_profiles/dast_scanner_profiles_bundle';
document.addEventListener('DOMContentLoaded', initDastScannerProfileForm);
initDastScannerProfileForm();
import initDastScannerProfileForm from 'ee/security_configuration/dast_scanner_profiles/dast_scanner_profiles_bundle';
document.addEventListener('DOMContentLoaded', initDastScannerProfileForm);
initDastScannerProfileForm();
import initDastSiteProfileForm from 'ee/security_configuration/dast_site_profiles_form';
document.addEventListener('DOMContentLoaded', initDastSiteProfileForm);
initDastSiteProfileForm();
import initDastSiteProfileForm from 'ee/security_configuration/dast_site_profiles_form';
document.addEventListener('DOMContentLoaded', initDastSiteProfileForm);
initDastSiteProfileForm();
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