mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Fix bug for drag and drop single file
This commit is contained in:
parent
7e4a61f2ac
commit
2dcfb3c2f0
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue