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

Fix old browsers not supporting forEach in querySelectorAll result #2033

Merged
merged 1 commit into from
Sep 21, 2019
Merged

Fix old browsers not supporting forEach in querySelectorAll result #2033

merged 1 commit into from
Sep 21, 2019

Conversation

HeavenVolkoff
Copy link
Contributor

Replace document.querySelectorAll(...).forEach with Array.prototype.forEach.call(document.querySelectorAll, ...) due to old browsers (ex: IE 11) not supporting entries|forEach|keys|values methods in NodeList.

@guybedford
Copy link
Member

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants