mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +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();
|
event.preventDefault();
|
||||||
|
|
||||||
var file = event.dataTransfer.files[0];
|
var file = event.dataTransfer.files[0];
|
||||||
uploadDataForIndexing(file);
|
uploadDataForIndexing([file]);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user