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

IE seems not to support NodeList.remove() #18

Open
vtslab opened this issue Jul 17, 2017 · 0 comments
Open

IE seems not to support NodeList.remove() #18

vtslab opened this issue Jul 17, 2017 · 0 comments

Comments

@vtslab
Copy link

vtslab commented Jul 17, 2017

src/leaflet.fusesearch.js
Line 252
listItems[i].remove();
gives an error on my IE11 .remove() not supported
So I changed to get the parent of the node to delete and then delete the child. This works on IE11

listItems[i].parentNode.removeChild(listItems[i]);

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

No branches or pull requests

1 participant