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);
|
||||
|
||||
Reference in New Issue
Block a user