Skip to content

Commit

Permalink
Merge pull request #818 from alphagov/fix-header-script
Browse files Browse the repository at this point in the history
Fix script in header component not being compatible with the govuk_template
  • Loading branch information
alex-ju authored Apr 15, 2019
2 parents 989c920 + 13d5352 commit 3be6915
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

## Unreleased

- Fix script in header component not being compatible with the govuk_template script (PR #818)
- Upgrade to govuk-frontend 2.10.0 (PR #817)

## 16.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'use strict'

if (document.querySelectorAll && document.addEventListener) {
var els = document.querySelectorAll('.js-header-toggle')
var els = document.querySelectorAll('a.js-header-toggle')
var i
var _i
for (i = 0, _i = els.length; i < _i; i++) {
Expand Down

0 comments on commit 3be6915

Please sign in to comment.