1
0
Эх сурвалжийг харах

Merge pull request #469 from jonaskuske/patch-1

fix: polyfill SVGElement.prototype.contains for IE
Caleb Porzio 5 жил өмнө
parent
commit
b45e5cff2c
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      src/polyfills.js

+ 2 - 0
src/polyfills.js

@@ -6,3 +6,5 @@ import "element-remove"
 import "classlist-polyfill"
 import "@webcomponents/template"
 import "custom-event-polyfill"
+
+SVGElement.prototype.contains = SVGElement.prototype.contains || HTMLElement.prototype.contains