Commit a0c448a1 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: don't force width & weight to cropped images

parent 3053a1a0
......@@ -314,8 +314,6 @@
block = base64data.split(";"),
realData = block[1].split(",")[1];
photo.style.width = canvasData.width + "px";
photo.style.height = canvasData.height + "px";
photo.src = base64data;
photoInput.value = realData;
gadget.querySelector(".camera-input").style.display = "none";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment