I'm encountering an issue when using file saver and html2canvas that displays the following error message. How can I resolve this?
Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': Overload resolution failed.
$( "#click" ).on( "click", function() {
html2canvas(document.querySelector("#Views")).then(canvas => {
canvas.toBlob(function(blob) {
window.saveAs(blob, 'img.jpg');
});
});
});