mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
drag and drop images
This commit is contained in:
@@ -62,7 +62,7 @@ function dropDrop(e) {
|
||||
e.stopPropagation();
|
||||
e.target.closest('.drop-area').classList.remove('hover');
|
||||
destination = window[e.target.closest('.drop-area').children[1].getAttribute('data-dropFunction')];
|
||||
otherParams = window[e.target.closest('.drop-area').children[1].getAttribute('data-otherParams')];
|
||||
otherParams = e.target.closest('.drop-area').children[1].getAttribute('data-otherParams');
|
||||
uploadFiles(e.dataTransfer.files, destination, otherParams);
|
||||
}
|
||||
async function uploadFiles(filesRaw, destination, otherParams) {
|
||||
|
Reference in New Issue
Block a user