Commit a024b3bd authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: Don't force width & height

parent 1bae5f9a
......@@ -43,8 +43,6 @@
data_str = result.target.result;
photo.setAttribute("src", data_str);
photo.setAttribute("width", gadget.props.image_width);
photo.setAttribute("height", gadget.props.image_height);
photoInput.setAttribute("value", data_str.split(",")[1]);
return drawCanvas(gadget, photo);
});
......
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