Commit 197641c7 authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Merge branch 'fix-performance-bar-not-tracking-some-requests' into 'master'

Fixes some requests not being tracked in performance bar

Closes #57886

See merge request gitlab-org/gitlab-ce!25384
parents 9b581d41 0e07a5aa
......@@ -78,7 +78,6 @@ function deferredInitialisation() {
if (document.querySelector('.search')) initSearchAutocomplete();
if (document.querySelector('#js-peek')) initPerformanceBar({ container: '#js-peek' });
......@@ -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' });
// Set the default path for all cookies to GitLab's root directory
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