diff options
Diffstat (limited to 'src/polyfills/children.js')
-rw-r--r-- | src/polyfills/children.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polyfills/children.js b/src/polyfills/children.js index 98e9143..690e23a 100644 --- a/src/polyfills/children.js +++ b/src/polyfills/children.js @@ -1,7 +1,7 @@ import { filter } from '../utils/utils.js' // IE11: children does not work for svg nodes -export default function children (node) { +export default function children(node) { return filter(node.childNodes, function (child) { return child.nodeType === 1 }) |