Skip to content

Commit

Permalink
Add missing Event polyfill to Accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Dec 23, 2022
1 parent dfbc2b7 commit 935b242
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/govuk/components/accordion/accordion.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { nodeListForEach, mergeConfigs, extractConfigByNamespace } from '../../common/index.mjs'
import { normaliseDataset } from '../../common/normalise-dataset.mjs'
import { I18n } from '../../i18n.mjs'
import '../../vendor/polyfills/Function/prototype/bind.mjs'
import '../../vendor/polyfills/Element/prototype/classList.mjs'
import '../../vendor/polyfills/Element/prototype/closest.mjs'
import '../../vendor/polyfills/Event.mjs' // addEventListener, event.target normalization and DOMContentLoaded
import '../../vendor/polyfills/Function/prototype/bind.mjs'
import '../../vendor/polyfills/String/prototype/trim.mjs'

/**
Expand Down

0 comments on commit 935b242

Please sign in to comment.