Add formatting tweak to index.js
parent
7baa986a30
commit
77359ba3a7
|
@ -20,7 +20,7 @@ async function listSeasons() {
|
|||
|
||||
seasonsList.forEach(season => {
|
||||
const option = document.createElement('option');
|
||||
option.text = season.year - 1 + "-" + season.year;
|
||||
option.text = (season.year - 1) + "-" + season.year;
|
||||
option.value = season.id;
|
||||
seasonDropdown.appendChild(option);
|
||||
});
|
||||
|
|
Reference in New Issue