aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/src/js/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/src/js/main.js b/assets/src/js/main.js
index 7ff1019..31dbf7b 100644
--- a/assets/src/js/main.js
+++ b/assets/src/js/main.js
@@ -43,7 +43,8 @@ function draw_me_like_one_of_your_french_girls(mol){
var dest = document.getElementById("draw-output");
var svg = mol.get_svg();
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%");
}