Skip to content

Commit

Permalink
Merge pull request #109 from nhsuk/change-event-listener-type
Browse files Browse the repository at this point in the history
Change event listener type
  • Loading branch information
chrimesdev authored Jul 11, 2020
2 parents 53280c4 + dfc7390 commit 8510525
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cookie-consent",
"version": "0.5.2",
"version": "0.5.3",
"description": "In-house solution for managing cookies on nhs.uk",
"main": "src/cookieconsent.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ window.NHSCookieConsent = {
};
/* eslint-enable sort-keys */

window.addEventListener('load', onload);
window.addEventListener('DOMContentLoaded', onload);

0 comments on commit 8510525

Please sign in to comment.