Преглед на файлове

fix: polyfill SVGElement.prototype.contains for IE

Jonas преди 5 години
родител
ревизия
4b1dcc0404
променени са 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