fix submit.js

pull/116/head
Aevann 2023-02-08 08:23:03 +02:00
parent 399d32eaf5
commit 42ec3264d7
1 changed files with 235 additions and 237 deletions

View File

@ -216,7 +216,6 @@ if (location.href == '/submit') {
const filelist = document.getElementById('upload-filelist');
document.addEventListener('DOMContentLoaded', function () {
/**
* Sets up the elements inside file upload rows.
*
@ -472,4 +471,3 @@ document.addEventListener('DOMContentLoaded', function () {
uploadInput.addEventListener('change', uploadFiles);
// uploadButton.addEventListener('click', selectFiles.bind(this, uploadInput));
uploadButton.addEventListener('drop', handleDragDrop.bind(this, state, uploadButton), false);
});