Commit 65d75f10 authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch...

Merge branch '262491-move-handlers-outside-of-domcontentloaded-app-assets-javascripts-pages-projects-registry' into 'master'

Handlers outside of DOMContentLoaded: /registry/repositories/index

See merge request gitlab-org/gitlab!44579
parents fec8d477 a94cb3ed
import registryExplorer from '~/registry/explorer/index'; import registryExplorer from '~/registry/explorer/index';
document.addEventListener('DOMContentLoaded', () => { const explorer = registryExplorer();
const explorer = registryExplorer();
if (explorer) { if (explorer) {
explorer.attachBreadcrumb(); explorer.attachBreadcrumb();
explorer.attachMainComponent(); explorer.attachMainComponent();
} }
});
import registryExplorer from '~/registry/explorer/index'; import registryExplorer from '~/registry/explorer/index';
document.addEventListener('DOMContentLoaded', () => { const explorer = registryExplorer();
const explorer = registryExplorer();
if (explorer) { if (explorer) {
explorer.attachBreadcrumb(); explorer.attachBreadcrumb();
explorer.attachMainComponent(); explorer.attachMainComponent();
} }
});
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