Commit 4349d6ba authored by Jannik Lehmann's avatar Jannik Lehmann

Remove obsolete DOMContentLoadedEventListener

parent fd2538de
...@@ -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