arreglado

This commit is contained in:
2025-06-30 12:13:23 +02:00
parent f5a58dc32d
commit 266e872f8f

View File

@ -804,7 +804,7 @@ class DatosLibro {
if (isNaN(valorActual) || valorActual < min) {
this.paginas.val(min);
} else if (valorActual > max) {
} else if (valorActual > max && max !== null) {
this.paginas.val(max);
}
}