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

Enable compatibility for IE 11 #34

Merged
merged 1 commit into from
Nov 2, 2020
Merged

Enable compatibility for IE 11 #34

merged 1 commit into from
Nov 2, 2020

Conversation

stephtr
Copy link
Contributor

@stephtr stephtr commented Nov 1, 2020

Internet Explorer 11 and some other browsers don't support calling forEach on a NodeList. Converting the NodeList to an array (for example via slice) solves the issue.

Internet Explorer 11 and some other browsers [don't support calling `forEach` on a `NodeList`](https://caniuse.com/mdn-api_nodelist_foreach). Converting the `NodeList` to an array (for example via `slice`) solves the issue.
@mmarkelov
Copy link
Owner

@stephtr make sense! Thanks!

@mmarkelov mmarkelov merged commit b1fe8f9 into mmarkelov:master Nov 2, 2020
@stephtr stephtr deleted the patch-1 branch November 2, 2020 17:46
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