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

Remove DOMContentLoaded EventListener

parent c22d72d1
import initSecurityCharts from 'ee/security_dashboard/security_charts_init'; import initSecurityCharts from 'ee/security_dashboard/security_charts_init';
import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants'; import { DASHBOARD_TYPES } from 'ee/security_dashboard/store/constants';
document.addEventListener('DOMContentLoaded', () => { initSecurityCharts(document.getElementById('js-security'), DASHBOARD_TYPES.INSTANCE);
initSecurityCharts(document.getElementById('js-security'), DASHBOARD_TYPES.INSTANCE);
});
---
title: Removed DOMContentLoaded Eventlistener from ee/app/assets/javascripts/pages/security/dashboard/show/index.js
merge_request: 47515
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