Commit 0574f4c1 authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch 'jnnkl-remove-eventlistener-ci-cd-groups-show' into 'master'

Remove obsolete DOMContentLoadedEventListener

See merge request gitlab-org/gitlab!55056
parents 80c689b2 61d7285a
...@@ -7,21 +7,19 @@ import { initInstallRunner } from '~/pages/shared/mount_runner_instructions'; ...@@ -7,21 +7,19 @@ import { initInstallRunner } from '~/pages/shared/mount_runner_instructions';
import initSearchSettings from '~/search_settings'; import initSearchSettings from '~/search_settings';
import initSettingsPanels from '~/settings_panels'; import initSettingsPanels from '~/settings_panels';
document.addEventListener('DOMContentLoaded', () => { // Initialize expandable settings panels
// Initialize expandable settings panels initSettingsPanels();
initSettingsPanels();
initFilteredSearch({ initFilteredSearch({
page: FILTERED_SEARCH.ADMIN_RUNNERS, page: FILTERED_SEARCH.ADMIN_RUNNERS,
filteredSearchTokenKeys: GroupRunnersFilteredSearchTokenKeys, filteredSearchTokenKeys: GroupRunnersFilteredSearchTokenKeys,
anchor: FILTERED_SEARCH.GROUP_RUNNERS_ANCHOR, anchor: FILTERED_SEARCH.GROUP_RUNNERS_ANCHOR,
useDefaultState: false, useDefaultState: false,
}); });
initSharedRunnersForm(); initSharedRunnersForm();
initVariableList(); initVariableList();
initInstallRunner(); initInstallRunner();
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