Skip to content
Snippets Groups Projects
Unverified Commit 0e07a5aa authored by Phil Hughes's avatar Phil Hughes
Browse files

Fixes some requests not being tracked in performance bar

parent 5ff775fd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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');
 
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment