diff options
Diffstat (limited to 'src/elements/Pattern.js')
-rw-r--r-- | src/elements/Pattern.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Pattern.js b/src/elements/Pattern.js index 9111837..4a1eee0 100644 --- a/src/elements/Pattern.js +++ b/src/elements/Pattern.js @@ -7,7 +7,7 @@ import baseFind from '../modules/core/selector.js' export default class Pattern extends Container { // Initialize node constructor (node) { - super(nodeOrNew('pattern', node), Pattern) + super(nodeOrNew('pattern', node), node) } // Return the fill id |