Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused classList polyfill from header component JavaScript #3112

Merged
merged 2 commits into from
Dec 16, 2022

Conversation

36degrees
Copy link
Contributor

The header imports the Element.prototype.classList polyfill but hasn’t actually called classList anywhere since we updated it to use the hidden attribute to toggle the menu visibility in 7217a7f (#2727).

The header imports the `Element.prototype.classList` polyfill but hasn’t actually called `classList` anywhere since we updated it to use the `hidden` attribute to toggle the menu visibility in 7217a7f (#2727).
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-3112 December 16, 2022 14:51 Inactive
@36degrees 36degrees changed the title Remove unused classList polyfill from header Remove unused classList polyfill from header component JavaScript Dec 16, 2022
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-3112 December 16, 2022 14:52 Inactive
Copy link
Contributor

@owenatgov owenatgov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot!

@36degrees 36degrees merged commit 0014e4d into main Dec 16, 2022
@36degrees 36degrees deleted the header-unused-classlist-polyfill branch December 16, 2022 15:03
36degrees added a commit that referenced this pull request Dec 20, 2022
We shipped 4.4.1 from the support/4.4.x branch without the other changes from main.

It looks like when #3112 was merged Git cleanly merged the changelog entry but it incorrectly ended up listed as part of v4.4.1.

Move the entry for this PR to the 'Unreleased' section.
36degrees added a commit that referenced this pull request Dec 20, 2022
We shipped 4.4.1 from the support/4.4.x branch without the other changes from main.

It looks like when #3112 was merged Git cleanly merged the changelog entry but it incorrectly ended up listed as part of v4.4.1.

Move the entry for this PR to the 'Unreleased' section.
@colinrotherham colinrotherham added this to the 4.5.0 milestone Jan 24, 2023
@owenatgov owenatgov mentioned this pull request Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants