jonathantneal / svg4everybody

Use external SVG spritemaps today
https://jonneal.dev/svg4everybody/
Other
3.29k stars 353 forks source link

svg.nodeName test fails in IE8 (Emulated in IE) #106

Closed jmp909 closed 8 years ago

jmp909 commented 8 years ago

IE8 (emulated in IE11) fails to meet this condition if (svg && /svg/i.test(svg.nodeName)) {

replacing it with this works if(svg)

not sure if it's just down to the emulated IE mode

thanks J

shawnbot commented 8 years ago

This test isn't used anymore as of v2.1.0, so this should be fixed. If you find that it's not, please re-open! 🍻