Add formatting tweak to index.js

main
sudoer777 2021-11-22 14:07:06 -07:00
parent 7baa986a30
commit 77359ba3a7
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ async function listSeasons() {
seasonsList.forEach(season => { seasonsList.forEach(season => {
const option = document.createElement('option'); const option = document.createElement('option');
option.text = season.year - 1 + "-" + season.year; option.text = (season.year - 1) + "-" + season.year;
option.value = season.id; option.value = season.id;
seasonDropdown.appendChild(option); seasonDropdown.appendChild(option);
}); });