Merge pull request #1046 from GSA/stvnrlly/undercooked

Remove another bit of cookie JS
This commit is contained in:
Steven Reilly
2023-12-20 12:34:21 -05:00
committed by GitHub

View File

@@ -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();