Aevann 2023-03-10 23:41:43 +02:00
parent e2c1abd8f2
commit be292043a0
1 changed files with 1 additions and 1 deletions

View File

@ -509,7 +509,7 @@ if (file_upload) {
{
const filename = file_upload.files[0].name
file_upload.previousElementSibling.textContent = filename.substr(0, 50);
for (const s of ocument.getElementById('IMAGE_FORMATS').value.split(','))
for (const s of document.getElementById('IMAGE_FORMATS').value.split(','))
{
if (filename.toLowerCase().endsWith(s)) {
const fileReader = new FileReader();