aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Stop.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Stop.js')
-rw-r--r--src/elements/Stop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Stop.js b/src/elements/Stop.js
index bf919e8..9a5acaa 100644
--- a/src/elements/Stop.js
+++ b/src/elements/Stop.js
@@ -4,7 +4,7 @@ import SVGNumber from '../types/SVGNumber.js'
export default class Stop extends Element {
constructor (node) {
- super(nodeOrNew('stop', node), Stop)
+ super(nodeOrNew('stop', node), node)
}
// add color stops