aboutsummaryrefslogtreecommitdiffstats
path: root/src/element.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/element.js')
-rw-r--r--src/element.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/element.js b/src/element.js
index 7da6e25..e7161c0 100644
--- a/src/element.js
+++ b/src/element.js
@@ -101,7 +101,7 @@ SVG.extend(SVG.Element, {
return this.parent != null ? this.parent.remove(this) : void 0;
},
// Get parent document
- parentDoc: function() {
+ doc: function() {
return this._parent(SVG.Doc);
},
// Set svg element attribute