summaryrefslogtreecommitdiffstats
path: root/src/boxes.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/boxes.js')
-rw-r--r--src/boxes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boxes.js b/src/boxes.js
index 463cdda..eb58c06 100644
--- a/src/boxes.js
+++ b/src/boxes.js
@@ -102,7 +102,7 @@ SVG.Box = SVG.invent({
}
} catch(e) {
try {
- var clone = this.clone(SVG.parser.draw.instance).show()
+ var clone = this.clone(SVG.parser().svg).show()
box = clone.node.getBBox()
clone.remove()
} catch(e) {