Skip to content

Commit

Permalink
Issue #61 Avoid unnecessary polyfills on other than IE 11
Browse files Browse the repository at this point in the history
  • Loading branch information
t2ym committed Feb 9, 2019
1 parent a091a08 commit 212617c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (!Object.getOwnPropertyDescriptor(DocumentFragment.prototype, 'children')) {
}
});
}
if (!Object.getOwnPropertyDescriptor(SVGElement.prototype, 'children')) {
if (!Object.getOwnPropertyDescriptor(Element.prototype, 'children')) {
Object.defineProperty(SVGElement.prototype, 'children', {
enumerable: true,
configurable: true,
Expand Down

0 comments on commit 212617c

Please sign in to comment.