Commit 586070ae authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch 'jnnkl-remove-eventlistener-admin-app-settings' into 'master'

Remove obsolete DOMContentLoadedEventListener

See merge request gitlab-org/gitlab!56541
parents ffb09b69 2d32f226
...@@ -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