Fixes some requests not being tracked in performance bar
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57886
This commit is contained in:
parent
5ff775fdef
commit
0e07a5aaa5
|
@ -78,7 +78,6 @@ function deferredInitialisation() {
|
|||
initUserPopovers();
|
||||
|
||||
if (document.querySelector('.search')) initSearchAutocomplete();
|
||||
if (document.querySelector('#js-peek')) initPerformanceBar({ container: '#js-peek' });
|
||||
|
||||
addSelectOnFocusBehaviour('.js-select-on-focus');
|
||||
|
||||
|
@ -145,6 +144,8 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
const $sidebarGutterToggle = $('.js-sidebar-toggle');
|
||||
let bootstrapBreakpoint = bp.getBreakpointSize();
|
||||
|
||||
if (document.querySelector('#js-peek')) initPerformanceBar({ container: '#js-peek' });
|
||||
|
||||
initLayoutNav();
|
||||
|
||||
// Set the default path for all cookies to GitLab's root directory
|
||||
|
|
Loading…
Reference in New Issue