[F.END] Typos

This commit is contained in:
giuliof 2020-04-17 23:19:59 +02:00
parent 1b0894b74d
commit aa5502bf10
1 changed files with 6 additions and 3 deletions

View File

@ -22,7 +22,7 @@ function zerocalcareDisplay() {
titleElement.appendChild(document.createTextNode(c));
titleElement.style.fontStyle = 'italic';
titleElement.classList.add('widget-title');
var coursesContainer = document.createElement('div');
eventsContainer[c].appendChild(titleElement);
zerocalcareOutput.appendChild(eventsContainer[c]);
}
@ -99,12 +99,15 @@ function zerocalcareDisplay() {
if (typeof json_obj[i]['CATEGORIES'] === 'object') {
if ('Corsi' in json_obj[i]['CATEGORIES']) {
eventsContainer[Corsi].appendChild(eventElement);
eventsContainer['Corsi'].appendChild(eventElement);
}
else {
coursesContainer[Eventi].appendChild(eventElement);
eventsContainer['Eventi'].appendChild(eventElement);
}
}
else {
eventsContainer['Eventi'].appendChild(eventElement);
}
}
}
else {