parent
9033094473
commit
4c01a5dab1
|
@ -233,7 +233,7 @@ Viewer.prototype.saveSVG = function(options, done) {
|
||||||
defsNode = domQuery('defs', canvas._svg);
|
defsNode = domQuery('defs', canvas._svg);
|
||||||
|
|
||||||
var contents = innerSVG(contentNode),
|
var contents = innerSVG(contentNode),
|
||||||
defs = (defsNode && defsNode.outerHTML) || '';
|
defs = defsNode ? '<defs>' + innerSVG(defsNode) + '</defs>' : '';
|
||||||
|
|
||||||
var bbox = contentNode.getBBox();
|
var bbox = contentNode.getBBox();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue