consistency

master
Aevann 2024-11-13 17:31:49 +02:00
parent c576fe0a16
commit 3c5a88613d
1 changed files with 1 additions and 1 deletions

View File

@ -630,7 +630,7 @@ if (file_upload) {
{
const file = file_upload.files[0]
if (check_file_size(file_upload, file)) {
const char_limit = innerWidth >= 768 ? 50 : 10;
const char_limit = innerWidth >= 768 ? 50 : 13;
file_upload.previousElementSibling.textContent = file.name.substr(0, char_limit);
if (file.type.startsWith('image/')) {
const fileReader = new FileReader();