[F.END] Typos
This commit is contained in:
parent
1b0894b74d
commit
aa5502bf10
|
@ -22,7 +22,7 @@ function zerocalcareDisplay() {
|
||||||
titleElement.appendChild(document.createTextNode(c));
|
titleElement.appendChild(document.createTextNode(c));
|
||||||
titleElement.style.fontStyle = 'italic';
|
titleElement.style.fontStyle = 'italic';
|
||||||
titleElement.classList.add('widget-title');
|
titleElement.classList.add('widget-title');
|
||||||
var coursesContainer = document.createElement('div');
|
eventsContainer[c].appendChild(titleElement);
|
||||||
zerocalcareOutput.appendChild(eventsContainer[c]);
|
zerocalcareOutput.appendChild(eventsContainer[c]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,12 +99,15 @@ function zerocalcareDisplay() {
|
||||||
|
|
||||||
if (typeof json_obj[i]['CATEGORIES'] === 'object') {
|
if (typeof json_obj[i]['CATEGORIES'] === 'object') {
|
||||||
if ('Corsi' in json_obj[i]['CATEGORIES']) {
|
if ('Corsi' in json_obj[i]['CATEGORIES']) {
|
||||||
eventsContainer[Corsi].appendChild(eventElement);
|
eventsContainer['Corsi'].appendChild(eventElement);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
coursesContainer[Eventi].appendChild(eventElement);
|
eventsContainer['Eventi'].appendChild(eventElement);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
eventsContainer['Eventi'].appendChild(eventElement);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue