increase max filename from 20 chars to 50

pull/138/head
Aevann 2023-03-06 19:51:54 +02:00
parent b6b3f8652b
commit 5e84b0d5ec
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ if (file_upload) {
if (file_upload.files)
{
const filename = file_upload.files[0].name
document.getElementById('filename-show').textContent = filename.substr(0, 20);
document.getElementById('filename-show').textContent = filename.substr(0, 50);
if (IMAGE_FORMATS.some(s => filename.toLowerCase().endsWith(s)))
{
const fileReader = new FileReader();