This commit is contained in:
Anthony Stirling
2023-07-18 22:04:18 +01:00
parent 794aede27f
commit 7b83104fd6
2 changed files with 31 additions and 26 deletions

View File

@@ -53,7 +53,8 @@ document.addEventListener('DOMContentLoaded', function() {
// Reset drag counter
dragCounter = 0;
handleFileInputChange(fileInput);
//handleFileInputChange(fileInput);
fileInput.dispatchEvent(new Event('change', { bubbles: true }));
};
// Prevent default behavior for drag events