[chess] Fix problem in IE.

This commit is contained in:
AlexeyMatveev686
2023-10-11 17:01:09 +03:00
parent d0ecdd3880
commit c1b9d4bd5f

View File

@ -370,8 +370,8 @@
}
var result = '';
try {
result = canvas.toDataURL("image/jpeg");
console.log(canvas.toDataURL("image/png"))
var imgURL = canvas.toDataURL({format:'jpeg',height:406, multiplier: 0.5});
console.log(imgURL)
} catch (error) {
result = 1;
}