Skip to content
Snippets Groups Projects
Commit e38e4220 authored by Jannik Lehmann's avatar Jannik Lehmann
Browse files

Remove obsolete DOMContentLoadedEventListener

parent fd2538de
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,10 +2,8 @@ import initAdminStatisticsPanel from '../../admin/statistics_panel/index';
import initVueAlerts from '../../vue_alerts';
import initAdmin from './admin';
 
document.addEventListener('DOMContentLoaded', initVueAlerts);
initVueAlerts();
 
document.addEventListener('DOMContentLoaded', () => {
const statisticsPanelContainer = document.getElementById('js-admin-statistics-container');
initAdmin();
initAdminStatisticsPanel(statisticsPanelContainer);
});
const statisticsPanelContainer = document.getElementById('js-admin-statistics-container');
initAdmin();
initAdminStatisticsPanel(statisticsPanelContainer);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment