mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 09:58:39 +00:00
Fix canvas media upload
This commit is contained in:
parent
5f98434efe
commit
683cf2e844
|
|
@ -159,7 +159,7 @@
|
|||
|
||||
for (let i = 0; i < length; i++) {
|
||||
if(elements[i].tagName.toLowerCase() === 'canvas') {
|
||||
value = elements[i].toDataUrl();
|
||||
value = elements[i].toDataURL('image/png');
|
||||
} else {
|
||||
value = elements[i].value;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user