Commit fbb4103b authored by Jannik Lehmann's avatar Jannik Lehmann Committed by Phil Hughes

Remove DOMContentLoaded event listener

parent c66cd2dc
import initFirstClassSecurityDashboard from 'ee/security_dashboard/first_class_init'; import initFirstClassSecurityDashboard from 'ee/security_dashboard/first_class_init';
import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants'; import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants';
document.addEventListener('DOMContentLoaded', () => { initFirstClassSecurityDashboard(
initFirstClassSecurityDashboard( document.getElementById('js-vulnerabilities'),
document.getElementById('js-vulnerabilities'), DASHBOARD_TYPES.INSTANCE,
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