aboutsummaryrefslogtreecommitdiffstats
path: root/src/element.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/element.js')
-rw-r--r--src/element.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/element.js b/src/element.js
index d6f4685..3dcf785 100644
--- a/src/element.js
+++ b/src/element.js
@@ -53,7 +53,7 @@ SVG.Element.prototype.parentDoc = function() {
// get parent svg wrapper
SVG.Element.prototype.parentSVG = function() {
- return this._findParent(SVG.Nested) || this.parentDoc();
+ return this.parentDoc();
};
// set svg element attribute
@@ -94,10 +94,6 @@ SVG.Element.prototype._findParent = function(pt) {
return e;
};
-// include the dispatcher object
-SVG.Element.include(SVG.Dispatcher);
-
-