Commit 726bc707 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'jnnkl-remove-eventlistener-boards-index' into 'master'

Remove obsolete DOMContentLoadedEventListener

See merge request gitlab-org/gitlab!55048
parents 56731f8e 16403732
...@@ -2,8 +2,6 @@ import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation'; ...@@ -2,8 +2,6 @@ import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';
import initBoards from '~/boards'; import initBoards from '~/boards';
import UsersSelect from '~/users_select'; import UsersSelect from '~/users_select';
document.addEventListener('DOMContentLoaded', () => { new UsersSelect(); // eslint-disable-line no-new
new UsersSelect(); // eslint-disable-line no-new new ShortcutsNavigation(); // eslint-disable-line no-new
new ShortcutsNavigation(); // eslint-disable-line no-new initBoards();
initBoards();
});
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