Commit 84925af6 authored by Denys Mishunov's avatar Denys Mishunov

Merge branch...

Merge branch '262456-move-handlers-outside-of-domcontentloaded-app-assets-javascripts-pages-projects-index-js' into 'master'

Resolve "Move handlers outside of DOMContentLoaded: app/assets/javascripts/pages/projects/index.js"

See merge request gitlab-org/gitlab!45034
parents b737ee32 1cf699a1
import Project from './project';
import ShortcutsNavigation from '../../behaviors/shortcuts/shortcuts_navigation';
document.addEventListener('DOMContentLoaded', () => {
new Project(); // eslint-disable-line no-new
new ShortcutsNavigation(); // eslint-disable-line no-new
});
new Project(); // eslint-disable-line no-new
new ShortcutsNavigation(); // eslint-disable-line no-new
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