mirror of
https://github.com/HKUDS/LightRAG.git
synced 2026-01-06 03:40:46 +00:00
Update index.html
This commit is contained in:
parent
a9e69f5613
commit
8a154038cb
@ -240,6 +240,9 @@
|
||||
|
||||
// Drag and Drop
|
||||
const dropZone = $('.drop-zone');
|
||||
dropZone.addEventListener('click', () => {
|
||||
fileInput.click();
|
||||
});
|
||||
|
||||
['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {
|
||||
dropZone.addEventListener(eventName, (e) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user