diff --git a/classList.js b/classList.js index b80a898..0693237 100644 --- a/classList.js +++ b/classList.js @@ -14,7 +14,9 @@ if ("document" in self) { // Full polyfill for browsers with no classList support -if (!("classList" in document.createElement("_"))) { +// Including IE < Edge missing SVGElement.classList +if (!("classList" in document.createElement("_")) + || document.createElementNS && !("classList" in document.createElementNS("http://www.w3.org/2000/svg","g"))) { (function (view) {