Skip to content

Commit

Permalink
Fix bug for drag and drop single file
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran committed Jun 14, 2024
1 parent 7e4a61f commit 2dcfb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/khoj/interface/web/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@
event.preventDefault();

var file = event.dataTransfer.files[0];
uploadDataForIndexing(file);
uploadDataForIndexing([file]);
};
}

Expand Down

0 comments on commit 2dcfb3c

Please sign in to comment.