diff --git a/public/scripts/index.js b/public/scripts/index.js index 4a4721c..41d9610 100644 --- a/public/scripts/index.js +++ b/public/scripts/index.js @@ -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); });