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
src/main/resources/static

View file

@ -17,9 +17,13 @@
display: flex;
justify-content: flex-end;
}
.arrows .btn {
margin: 0 3px;
}
.move-up span,
.move-down span {
font-weight: bold;
font-size: 1.2em;
}

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