Skip to content

Commit

Permalink
Merge pull request #45 from hmrc/ATED-3504
Browse files Browse the repository at this point in the history
amended javascript giving null error
  • Loading branch information
Dan Pudwell authored Aug 23, 2017
2 parents 1587234 + 2b950aa commit 64181ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/javascript/error-summary.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
window.onload = function() {
document.getElementById("errors").focus();
if (document.getElementById("errors") != null) {
document.getElementById("errors").focus();
}
};

0 comments on commit 64181ee

Please sign in to comment.