We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 979b040 + f93f131 commit e87db36Copy full SHA for e87db36
classList.js
@@ -14,7 +14,9 @@
14
if ("document" in self) {
15
16
// Full polyfill for browsers with no classList support
17
-if (!("classList" in document.createElement("_"))) {
+// Including IE < Edge missing SVGElement.classList
18
+if (!("classList" in document.createElement("_"))
19
+ || document.createElementNS && !("classList" in document.createElementNS("http://www.w3.org/2000/svg","g"))) {
20
21
(function (view) {
22
0 commit comments