Commit 63ec2f0e authored by Phil Hughes's avatar Phil Hughes

Merge branch...

Merge branch 'remove-DOMContentloaded-eventlistener-from-ee/app/assets/javascripts/pages/security/vulnerabilities/index/index.js' into 'master'

Remove DOMContentLoaded event listener

See merge request gitlab-org/gitlab!47516
parents ff05e068 fbb4103b
import initFirstClassSecurityDashboard from 'ee/security_dashboard/first_class_init';
import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants';
document.addEventListener('DOMContentLoaded', () => {
initFirstClassSecurityDashboard(
document.getElementById('js-vulnerabilities'),
DASHBOARD_TYPES.INSTANCE,
);
});
initFirstClassSecurityDashboard(
document.getElementById('js-vulnerabilities'),
DASHBOARD_TYPES.INSTANCE,
);
---
title: Removed DOMContentLoaded Eventlistener from ee/app/assets/javascripts/pages/security/vulnerabilities/index/index.js
merge_request: 47516
author:
type: changed
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