mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 19:28:25 -04:00
remove vestigial cookie js
This commit is contained in:
@@ -1,12 +1,5 @@
|
|||||||
window.GOVUK.Frontend.initAll();
|
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());
|
$(() => $("time.timeago").timeago());
|
||||||
|
|
||||||
var showHideContent = new GOVUK.ShowHideContent();
|
var showHideContent = new GOVUK.ShowHideContent();
|
||||||
|
|||||||
Reference in New Issue
Block a user