From a989f93d7e0017b7c79ad3fa4e453f215cdd9b47 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 14 Mar 2021 15:18:27 +0530 Subject: improving image quality and size --- assets/src/js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'assets') 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 = "
" + svg + "
"; - console.log(svg) + document.getElementById('drawing-1').children[0].setAttribute("height", "100%"); + document.getElementById('drawing-1').children[0].setAttribute("width", "100%"); } -- cgit v1.2.3