Commit 3289bd8f authored by Jannik Lehmann's avatar Jannik Lehmann

Remove obsolete DOMContentLoadedEventListener

parent 52135410
......@@ -3,13 +3,12 @@ import { __ } from '~/locale';
import initProjectVisibilitySelector from '../../../project_visibility';
import initProjectNew from '../../../projects/project_new';
document.addEventListener('DOMContentLoaded', () => {
initProjectVisibilitySelector();
initProjectNew.bindEvents();
initProjectVisibilitySelector();
initProjectNew.bindEvents();
import(
import(
/* webpackChunkName: 'experiment_new_project_creation' */ '../../../projects/experiment_new_project_creation'
)
)
.then((m) => {
const el = document.querySelector('.js-experiment-new-project-creation');
......@@ -27,4 +26,3 @@ document.addEventListener('DOMContentLoaded', () => {
.catch(() => {
createFlash(__('An error occurred while loading project creation UI'));
});
});
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