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 Jan 9, 2023
1 parent 22b1e7a commit 4f1d80e
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 4f1d80e

Please sign in to comment.