summaryrefslogtreecommitdiffstats
path: root/src/svg.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg.js')
-rwxr-xr-xsrc/svg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg.js b/src/svg.js
index eb0185d..3c25288 100755
--- a/src/svg.js
+++ b/src/svg.js
@@ -67,7 +67,7 @@ SVG.prepare = function(element) {
/* create parser object */
SVG.parser = {
- body: body || element.parent
+ body: body || element.parent()
, draw: draw.style('opacity:0;position:fixed;left:100%;top:100%;overflow:hidden')
, poly: draw.polyline().node
, path: path