when I try to use file saver and html2canvas it show that error, How to fix 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');
});
});
});