forked from GithubMirrors/cardconjurer
		
	Update main-1.js
This commit is contained in:
		| @@ -75,6 +75,9 @@ async function uploadFiles(filesRaw, destination, otherParams) { | ||||
| 	files.forEach(file => { | ||||
| 		var reader = new FileReader(); | ||||
| 		reader.onloadend = function () { | ||||
| 			if (otherParams.includes('filename')) { | ||||
| 				otherParams = 'filename=' + file.name; | ||||
| 			} | ||||
| 			destination(reader.result, otherParams); | ||||
| 		} | ||||
| 		reader.onerror = function () { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kyle
					Kyle