Commit 6e1acecf authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'jnnkl-admin-event-listener-index' into 'master'

Remove obsolete DOMContentLoadedEventListener

See merge request gitlab-org/gitlab!56379
parents 2a553a98 4349d6ba
...@@ -17,12 +17,10 @@ function mountRemoveMemberModal() { ...@@ -17,12 +17,10 @@ function mountRemoveMemberModal() {
}); });
} }
document.addEventListener('DOMContentLoaded', () => { mountRemoveMemberModal();
mountRemoveMemberModal();
new ProjectsList(); // eslint-disable-line no-new new ProjectsList(); // eslint-disable-line no-new
document document
.querySelectorAll('.js-namespace-select') .querySelectorAll('.js-namespace-select')
.forEach((dropdown) => new NamespaceSelect({ dropdown })); .forEach((dropdown) => new NamespaceSelect({ dropdown }));
});
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