summaryrefslogtreecommitdiffstats
path: root/src/doc.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.js')
-rw-r--r--src/doc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc.js b/src/doc.js
index 72ea59c..423204f 100644
--- a/src/doc.js
+++ b/src/doc.js
@@ -1,7 +1,7 @@
SVG.Doc = SVG.invent({
// Initialize node
create: function (node) {
- this.constructor(node || SVG.create('svg'))
+ SVG.Element.call(this, node || SVG.create('svg'))
// set svg element attributes and ensure defs node
this.namespace()