mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
Merge pull request #1046 from GSA/stvnrlly/undercooked
Remove another bit of 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