//= require govuk_publishing_components/lib
//= require govuk_publishing_components/components/button
//= require govuk_publishing_components/components/checkboxes
//= require govuk_publishing_components/components/details
//= require govuk_publishing_components/components/feedback
//= require govuk_publishing_components/components/govspeak
//= require govuk_publishing_components/components/print-link
//= require govuk_publishing_components/components/radio
//= require govuk_publishing_components/components/step-by-step-nav
//= require components/hide-this-page-banner
//= require modules/track-responses
//= require modules/track-results

window.addEventListener('DOMContentLoaded', function () {
  var error = document.getElementById('current-error')
  if (error) { error.focus() }
})

//= require govuk_publishing_components/lib
//= require govuk_publishing_components/components/button
//= require govuk_publishing_components/components/checkboxes
//= require govuk_publishing_components/components/details
//= require govuk_publishing_components/components/feedback
//= require govuk_publishing_components/components/govspeak
//= require govuk_publishing_components/components/print-link
//= require govuk_publishing_components/components/radio
//= require govuk_publishing_components/components/step-by-step-nav
//= require components/hide-this-page-banner
//= require modules/track-responses
//= require modules/track-results

Remove old error focus script
Remove old error focus script

No evidence of 'current-error' id being applied to an element across the repo
