diff options
Diffstat (limited to 'src/utils/adopter.js')
-rw-r--r-- | src/utils/adopter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/adopter.js b/src/utils/adopter.js index 3e86d8a..34b853e 100644 --- a/src/utils/adopter.js +++ b/src/utils/adopter.js @@ -51,7 +51,7 @@ export function adopt (node) { if (node.instance instanceof Base) return node.instance // initialize variables - var className = capitalize(node.nodeName) + var className = capitalize(node.nodeName || 'Dom') // Make sure that gradients are adopted correctly if (className === 'LinearGradient' || className === 'RadialGradient') { |