mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
realizados cambios
This commit is contained in:
@ -89,6 +89,9 @@ class DatosGenerales {
|
||||
this.pagColorConsecutivas.on('change', this.#handPaginasConsecutivas.bind(this));
|
||||
this.papelDiferente.on('change', this.#handlePapelDiferente.bind(this));
|
||||
|
||||
this.anchoPersonalizado.on("change", this.#checkValue.bind(this));
|
||||
this.altoPersonalizado.on("change", this.#checkValue.bind(this));
|
||||
|
||||
this.titulo.on('change', () => { $(".titulo").html(this.titulo.val()); });
|
||||
}
|
||||
|
||||
@ -602,6 +605,14 @@ class DatosGenerales {
|
||||
}
|
||||
}
|
||||
|
||||
#checkValue(event){
|
||||
let target = event.target;
|
||||
if(target.value < target.min){
|
||||
target.value = target.min;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#handleTipolibro(event) {
|
||||
// Accede al ID del elemento que disparó el evento
|
||||
const element = $(event.target);
|
||||
|
||||
@ -476,4 +476,12 @@
|
||||
|
||||
.texto-resumen-lateral{
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.num-input{
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
.div-num-input{
|
||||
min-width: 105px;
|
||||
}
|
||||
Reference in New Issue
Block a user