reset trombi on load (better when debugging)

This commit is contained in:
Gaspard Jankowiak 2024-10-04 10:46:31 +02:00
parent f066a2ca4f
commit 28463418f8

View file

@ -121,6 +121,13 @@ function generateTrombi() {
form.after(trombi); form.after(trombi);
} }
// reset
if (document.getElementById("kf-trombi_trombi")) {
document.getElementById("idTNListe").classList.remove("hidden");
document.getElementById("kf-trombi_trombi").remove();
document.getElementById("kf-trombi_row").remove();
}
appendLink(); appendLink();
generateTrombi(); generateTrombi();