[F.END] Wrong operation

This commit is contained in:
giuliof 2020-04-17 23:25:05 +02:00
parent aa5502bf10
commit 6261242494
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ function zerocalcareDisplay() {
eventElement.appendChild(locationElement);
if (typeof json_obj[i]['CATEGORIES'] === 'object') {
if ('Corsi' in json_obj[i]['CATEGORIES']) {
if (json_obj[i]['CATEGORIES'].includes('Corsi')) {
eventsContainer['Corsi'].appendChild(eventElement);
}
else {