leaflet-fusesearch icon indicating copy to clipboard operation
leaflet-fusesearch copied to clipboard

IE seems not to support NodeList.remove()

Open vtslab opened this issue 7 years ago • 0 comments

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]);

vtslab avatar Jul 17 '17 12:07 vtslab