Update index.html

This commit is contained in:
Saifeddine ALOUI
2025-01-24 16:35:04 +01:00
committed by GitHub
parent a9e69f5613
commit 8a154038cb

View File

@@ -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) => {