fixing chrome conflict

This commit is contained in:
Amine Ben hammou
2018-03-13 16:09:39 +01:00
parent 1033c1c1cf
commit 1c021ac0a0

View File

@@ -10,9 +10,6 @@ import html2canvas from 'html2canvas';
*/
export const fromDom = element =>
html2canvas(element, {
allowTaint: false,
useCORS: true,
foreignObjectRendering: true,
logging: false,
}).then(canvas => canvas.toDataURL('image/jpeg'));