mirror of
https://github.com/Merricx/qrazybox.git
synced 2024-11-21 18:42:57 +01:00
decode mode result textarea size * QR version
This commit is contained in:
parent
f3918f18bf
commit
b396c5e611
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue