Commit b3637942 authored by Jannik Lehmann's avatar Jannik Lehmann

Remove obsolete DOMContentLoadedEventListener

parent 5e2365f5
...@@ -23,17 +23,15 @@ function mountRemoveMemberModal() { ...@@ -23,17 +23,15 @@ function mountRemoveMemberModal() {
}); });
} }
document.addEventListener('DOMContentLoaded', () => { groupsSelect();
groupsSelect(); memberExpirationDate();
memberExpirationDate(); memberExpirationDate('.js-access-expiration-date-groups');
memberExpirationDate('.js-access-expiration-date-groups'); mountRemoveMemberModal();
mountRemoveMemberModal(); initInviteMembersModal();
initInviteMembersModal(); initInviteMembersTrigger();
initInviteMembersTrigger();
new Members(); // eslint-disable-line no-new new Members(); // eslint-disable-line no-new
new UsersSelect(); // eslint-disable-line no-new new UsersSelect(); // eslint-disable-line no-new
});
if (window.gon.features.vueProjectMembersList) { if (window.gon.features.vueProjectMembersList) {
const SHARED_FIELDS = ['account', 'expires', 'maxRole', 'expiration', 'actions']; const SHARED_FIELDS = ['account', 'expires', 'maxRole', 'expiration', 'actions'];
......
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