commit | fae71adee1a97ba8080f9d7662355bee8b02704d | [log] [tgz] |
---|---|---|
author | Ferran López <flg@tuta.io> | Sun Oct 04 13:43:47 2020 +0200 |
committer | Ferran López <flg@tuta.io> | Sun Oct 04 13:43:47 2020 +0200 |
tree | 4f1abd7d35aa07ba4fd939949a625fc761819660 | |
parent | 819a9bb17c993f2b9021078b06cf26f81fd76375 [diff] |
Buida llista de classes en canviar hora
diff --git a/js/build_page.js b/js/build_page.js index 83f49a6..a43cd5f 100644 --- a/js/build_page.js +++ b/js/build_page.js
@@ -112,6 +112,7 @@ } function buildSubjectContainer(classes, repeated) { + document.getElementById("subject-container").innerHTML = ""; for (var classe of classes) { var hora_inici = formatTime(new Date(parseInt(classe.begins)*1000)); var hora_final = formatTime(new Date(parseInt(classe.ends)*1000));