Skip to content

Commit 09742c6

Browse files
Maintain nhsuk.js for backwards compatibility
1 parent 857dfaf commit 09742c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/nhsuk.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
const { initAll } = require('.')
2+
3+
// Initialise components
4+
document.addEventListener('DOMContentLoaded', () => initAll(document))

0 commit comments

Comments
 (0)