Commit fd6a8ca4 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'jnnkl-remove-event-listener-groups-repo-settings' into 'master'

Remove obsolete DOMContentLoadedEventListener

See merge request gitlab-org/gitlab!55628
parents 9d191e8c b2ceea5f
...@@ -2,11 +2,9 @@ import DueDateSelectors from '~/due_date_select'; ...@@ -2,11 +2,9 @@ import DueDateSelectors from '~/due_date_select';
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();
new DueDateSelectors(); // eslint-disable-line no-new new DueDateSelectors(); // eslint-disable-line no-new
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