Commit 61d99f1a authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: Fix variable name

parent 657edd50
......@@ -58,7 +58,7 @@
function takePicture(el) {
return RSVP.Queue()
.push(function () {
return imageCapture.takePhoto({imageWidth: image_width});
return image_capture.takePhoto({imageWidth: image_width});
})
.push(function (blob) {
return readBlobAsDataURL(blob);
......
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