menu lateral datos generales

This commit is contained in:
2024-11-12 01:08:53 +01:00
parent cc9eba99fb
commit 7223b56db6
6 changed files with 8564 additions and 7 deletions

View File

@ -201,7 +201,7 @@ class Resumen {
generate() {
this.titulo.text(this.datosGenerales.titulo.val());
this.tipoLibro.text(this.#capitalizeFirstLetter(this.datosGenerales.tiposLibro.filter('.selected').attr('id')));
this.tipoLibro.text(this.capitalizeFirstLetter(this.datosGenerales.tiposLibro.filter('.selected').attr('id')));
let ancho = 0, alto = 0;
if (this.datosGenerales.checkFormatoPersonalizado.is(':checked')) {
@ -346,7 +346,7 @@ class Resumen {
}
#capitalizeFirstLetter(string) {
capitalizeFirstLetter(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}