mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05:00
22 lines
538 B
JavaScript
22 lines
538 B
JavaScript
window.GOVUK.Frontend.initAll();
|
|
|
|
$(() => GOVUK.addCookieMessage());
|
|
|
|
if (window.GOVUK.hasConsentFor('analytics')) {
|
|
window.GOVUK.initAnalytics();
|
|
}
|
|
|
|
$(() => $("time.timeago").timeago());
|
|
|
|
$(() => GOVUK.stickAtTopWhenScrolling.init());
|
|
$(() => GOVUK.stickAtBottomWhenScrolling.init());
|
|
|
|
var showHideContent = new GOVUK.ShowHideContent();
|
|
showHideContent.init();
|
|
|
|
$(() => GOVUK.modules.start());
|
|
|
|
$(() => $('.error-message').eq(0).parent('label').next('input').trigger('focus'));
|
|
|
|
$(() => $('.banner-dangerous').eq(0).trigger('focus'));
|