#11372 fix consolelog
This commit is contained in:
parent
1df94901f6
commit
2842a5d3cd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue