From b23e0e2b41f767e9809d3b5052930cfd449a6e85 Mon Sep 17 00:00:00 2001 From: stvnrlly Date: Wed, 20 Dec 2023 12:27:45 -0500 Subject: [PATCH] remove vestigial cookie js --- app/assets/javascripts/main.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/assets/javascripts/main.js b/app/assets/javascripts/main.js index 3cc17c20d..e48485471 100644 --- a/app/assets/javascripts/main.js +++ b/app/assets/javascripts/main.js @@ -1,12 +1,5 @@ window.GOVUK.Frontend.initAll(); -var consentData = window.GOVUK.getConsentCookie(); -window.GOVUK.Modules.CookieBanner.clearOldCookies(consentData); - -if (window.GOVUK.hasConsentFor('analytics', consentData)) { - window.GOVUK.initAnalytics(); -} - $(() => $("time.timeago").timeago()); var showHideContent = new GOVUK.ShowHideContent();