Commit 5f872cc2 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: Remove useless code

parent 8272704e
......@@ -488,10 +488,7 @@
new Promise(function (resolve) {
resolve(canvas.toDataURL("image/jpeg", compression));
}),
buildPreviousThumbnailDom(gadget),
new Promise(function (resolve) {
canvas.toBlob(resolve, "image/jpeg", compression);
})
buildPreviousThumbnailDom(gadget)
]);
})
.push(function (result_list) {
......
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1583144747.41</float>
<float>1583145490.98</float>
<string>UTC</string>
</tuple>
</state>
......
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