Add formatting tweak to submit.js
parent
77359ba3a7
commit
1ce1bdb27c
|
@ -19,7 +19,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);
|
||||||
});
|
});
|
||||||
|
|
Reference in New Issue