Sha256: 39d0a1f36b63d21087de10e5fc7605cf1e70557c4fda4838fc48ca40e87dd0f1
Contents?: true
Size: 539 Bytes
Versions: 98
Compression:
Stored size: 539 Bytes
Contents
window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {}; (function (global, GOVUK) { 'use strict' var $ = global.jQuery GOVUK.Modules.ErrorSummary = function () { this.start = function (element) { element.focus() // Focus on inputs with errors, so they're easier to discover element.on('click', '.js-error-summary__link', function (event) { event.preventDefault() var href = $(this).attr('href') $(href).focus() }) } } })(window, window.GOVUK)
Version data entries
98 entries across 98 versions & 1 rubygems