Change class names for validation errors in html

Implements the class name changes detailed in:
https://github.com/alphagov/govuk_elements/pull/405
This commit is contained in:
Chris Hill-Scott
2017-04-10 11:16:22 +01:00
parent 87c81c994f
commit 8d5af47620
6 changed files with 20 additions and 12 deletions

View File

@@ -2,8 +2,6 @@ $(() => $("time.timeago").timeago());
$(() => GOVUK.modules.start());
$(() => new GOVUK.SelectionButtons('.block-label input'));
$(() => $('.error-message').eq(0).parent('label').next('input').trigger('focus'));
$(() => $('.banner-dangerous').eq(0).trigger('focus'));