Commit c8e73acd authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'jnnkl-removeeventlistener-project-list' into 'master'

Remove obsolete DOMContentLoadedEventListener

See merge request gitlab-org/gitlab!56377
parents 3a54e151 61e9b5f8
...@@ -6,7 +6,7 @@ import Translate from '~/vue_shared/translate'; ...@@ -6,7 +6,7 @@ import Translate from '~/vue_shared/translate';
import deleteProjectModal from './components/delete_project_modal.vue'; import deleteProjectModal from './components/delete_project_modal.vue';
document.addEventListener('DOMContentLoaded', () => { (() => {
Vue.use(Translate); Vue.use(Translate);
const deleteProjectModalEl = document.getElementById('delete-project-modal'); const deleteProjectModalEl = document.getElementById('delete-project-modal');
...@@ -39,4 +39,4 @@ document.addEventListener('DOMContentLoaded', () => { ...@@ -39,4 +39,4 @@ document.addEventListener('DOMContentLoaded', () => {
}); });
}, },
}); });
}); })();
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