#11372 fix consolelog

This commit is contained in:
miguel angel rasteu 2023-06-27 11:51:45 +02:00
parent 1df94901f6
commit 2842a5d3cd
1 changed files with 0 additions and 1 deletions

View File

@ -4833,7 +4833,6 @@ function html_print_input_file($name, $return=false, $options=false)
let inputImage = document.querySelector("input[type=file]").files[0];
if (inputImage.name.length >= 45) {
let name = inputImage.name.substring(0, 20) + "..." + inputImage.name.substring((inputImage.name.length-17), inputImage.name.length);
console.log(name.length);
inputFilename.innerText = name;
} else {
inputFilename.innerText = inputImage.name;