From 2dcfb3c2f0ceb5c03f022df83b1002e646c6c878 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Fri, 14 Jun 2024 12:01:10 +0530 Subject: [PATCH] Fix bug for drag and drop single file --- src/khoj/interface/web/chat.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html index b678c226..559cce13 100644 --- a/src/khoj/interface/web/chat.html +++ b/src/khoj/interface/web/chat.html @@ -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]); }; }