Commit 56189dac authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'jnnkl-dom-content-loaded-header' into 'master'

Remove obsolete DOMContentLoadedEventListener

See merge request gitlab-org/gitlab!52774
parents 4487e589 e5c3153e
......@@ -106,7 +106,5 @@ export function initNavUserDropdownTracking() {
}
}
document.addEventListener('DOMContentLoaded', () => {
requestIdleCallback(initStatusTriggers);
requestIdleCallback(initNavUserDropdownTracking);
});
requestIdleCallback(initStatusTriggers);
requestIdleCallback(initNavUserDropdownTracking);
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