[F.END] Missed some variables

This commit is contained in:
giuliof 2020-04-17 23:59:59 +02:00
parent 3b78c37a47
commit f8b30e1eff
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ function zerocalcareDisplay() {
Corsi : null
};
for (c in eventsContainer) {
for (var c in eventsContainer) {
eventsContainer[c] = document.createElement('div');
var titleElement = document.createElement('h4');
titleElement.appendChild(document.createTextNode(c));
@ -26,7 +26,7 @@ function zerocalcareDisplay() {
zerocalcareOutput.appendChild(eventsContainer[c]);
}
for (i in json_obj) {
for (var i in json_obj) {
// Do not display private events
if (typeof json_obj[i]['CLASS'] === 'string' && json_obj[i]['CLASS'] == 'PRIVATE') {
continue;