reset trombi on load (better when debugging)
This commit is contained in:
parent
f066a2ca4f
commit
28463418f8
1 changed files with 7 additions and 0 deletions
|
@ -121,6 +121,13 @@ function generateTrombi() {
|
|||
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();
|
||||
generateTrombi();
|
||||
|
||||
|
|
Loading…
Reference in a new issue