Commit c41fc727 authored by Paul Slaughter's avatar Paul Slaughter

Merge branch 'jnnkl-remove-eventlistener-admin-new-user' into 'master'

Remove obsolete DOMContentLoadedEventListener

See merge request gitlab-org/gitlab!56545
parents c3b0e5c0 eda92204
...@@ -45,7 +45,5 @@ export default class UserInternalRegexHandler { ...@@ -45,7 +45,5 @@ export default class UserInternalRegexHandler {
} }
} }
document.addEventListener('DOMContentLoaded', () => { // eslint-disable-next-line no-new
// eslint-disable-next-line new UserInternalRegexHandler();
new UserInternalRegexHandler();
});
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