From 9d0a07a325848d96df374e766e34cf42c799327d Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Sat, 14 May 2022 06:09:05 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/assets/javascripts/main.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app/assets/javascripts/main.js') diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js index 8fc54be9c28..4101b520e80 100644 --- a/app/assets/javascripts/main.js +++ b/app/assets/javascripts/main.js @@ -1,7 +1,6 @@ /* global $ */ import jQuery from 'jquery'; -import Cookies from 'js-cookie'; // bootstrap webpack, common libs, polyfills, and behaviors import './webpack'; @@ -178,9 +177,6 @@ initUserTracking(); initLayoutNav(); initAlertHandler(); -// Set the default path for all cookies to GitLab's root directory -Cookies.defaults.path = gon.relative_url_root || '/'; - // `hashchange` is not triggered when link target is already in window.location $body.on('click', 'a[href^="#"]', function clickHashLinkCallback() { const href = this.getAttribute('href'); -- cgit v1.2.1