aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Defs.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Defs.js')
-rw-r--r--src/elements/Defs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Defs.js b/src/elements/Defs.js
index 58932cb..2826611 100644
--- a/src/elements/Defs.js
+++ b/src/elements/Defs.js
@@ -3,7 +3,7 @@ import Container from './Container.js'
export default class Defs extends Container {
constructor (node) {
- super(nodeOrNew('defs', node), Defs)
+ super(nodeOrNew('defs', node), node)
}
flatten () { return this }