diff --git a/js/main.js b/js/main.js index 4b9d63d..df36f93 100644 --- a/js/main.js +++ b/js/main.js @@ -1595,6 +1595,8 @@ $(document).ready(function(){ decodeFromBase64(image, function(decodedData){ if(decodedData != "error decoding QR Code"){ $("#decode-message").val(decodedData); + //resize for text based on QR version + $("#decode-message").css("height", (17+4*qr_version)*3+"px"); } }); }