summaryrefslogtreecommitdiffstats
path: root/src/elements/Path.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Path.js')
-rw-r--r--src/elements/Path.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Path.js b/src/elements/Path.js
index 71be8a1..c8a4de4 100644
--- a/src/elements/Path.js
+++ b/src/elements/Path.js
@@ -8,7 +8,7 @@ import baseFind from '../modules/core/selector.js'
export default class Path extends Shape {
// Initialize node
constructor (node) {
- super(nodeOrNew('path', node), Path)
+ super(nodeOrNew('path', node), node)
}
// Get array