Commit 2d32f226 authored by Jannik Lehmann's avatar Jannik Lehmann

Remove obsolete DOMContentLoadedEventListener

parent be7b38c4
...@@ -4,13 +4,11 @@ import initSearchSettings from '~/search_settings'; ...@@ -4,13 +4,11 @@ import initSearchSettings from '~/search_settings';
import selfMonitor from '~/self_monitor'; import selfMonitor from '~/self_monitor';
import initSettingsPanels from '~/settings_panels'; import initSettingsPanels from '~/settings_panels';
document.addEventListener('DOMContentLoaded', () => { if (gon.features?.ciInstanceVariablesUi) {
if (gon.features?.ciInstanceVariablesUi) {
initVariableList('js-instance-variables'); initVariableList('js-instance-variables');
} }
selfMonitor(); selfMonitor();
// Initialize expandable settings panels // Initialize expandable settings panels
initSettingsPanels(); initSettingsPanels();
projectSelect(); projectSelect();
initSearchSettings(); initSearchSettings();
});
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