aboutsummaryrefslogtreecommitdiffstats
path: root/src/group.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/group.js')
-rw-r--r--src/group.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group.js b/src/group.js
index da44e27..df97c3e 100644
--- a/src/group.js
+++ b/src/group.js
@@ -11,7 +11,7 @@ SVG.extend(SVG.G, SVG.Container);
SVG.extend(SVG.G, {
defs: function() {
- return this.parentDoc().defs();
+ return this.doc().defs();
}
}); \ No newline at end of file