diff --git a/bookmarklet.js b/bookmarklet.js index 3b71764..d268132 100644 --- a/bookmarklet.js +++ b/bookmarklet.js @@ -325,7 +325,7 @@ var style = document.createElement('style'); style.id = 'styleRowCount'; style.type = 'text/css'; - style.innerHTML = ".card { height: calc( 100% / " + rowCount + " - 0.0001px ); }" + style.innerHTML = ".card { height: calc( 100% / " + rowCount + " - 0.0001px ); }" jQuery("head", printDocument).append(style); // scale @@ -348,6 +348,7 @@ // scale min var scale = Math.min(scaleWidth, scaleHeight, 1); if (scale < 1) { + console.log("scale: " + scale ) jQuery("html", printDocument).css("font-size", scale + "cm"); } }