improving image quality and size
This commit is contained in:
parent
849fe34689
commit
a989f93d7e
|
@ -43,7 +43,8 @@ function draw_me_like_one_of_your_french_girls(mol){
|
||||||
var dest = document.getElementById("draw-output");
|
var dest = document.getElementById("draw-output");
|
||||||
var svg = mol.get_svg();
|
var svg = mol.get_svg();
|
||||||
dest.outerHTML = "<div id='drawing-1'>" + svg + "</div>";
|
dest.outerHTML = "<div id='drawing-1'>" + svg + "</div>";
|
||||||
console.log(svg)
|
document.getElementById('drawing-1').children[0].setAttribute("height", "100%");
|
||||||
|
document.getElementById('drawing-1').children[0].setAttribute("width", "100%");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue