Fix bug for drag and drop single file

This commit is contained in:
sabaimran 2024-06-14 12:01:10 +05:30
parent 7e4a61f2ac
commit 2dcfb3c2f0

View file

@ -980,7 +980,7 @@ To get started, just start typing below. You can also type / to see a list of co
event.preventDefault(); event.preventDefault();
var file = event.dataTransfer.files[0]; var file = event.dataTransfer.files[0];
uploadDataForIndexing(file); uploadDataForIndexing([file]);
}; };
} }