mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Fix bug for drag and drop single file
This commit is contained in:
@@ -980,7 +980,7 @@ To get started, just start typing below. You can also type / to see a list of co
|
||||
event.preventDefault();
|
||||
|
||||
var file = event.dataTransfer.files[0];
|
||||
uploadDataForIndexing(file);
|
||||
uploadDataForIndexing([file]);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user