From 77359ba3a7f99d1a58369a69e0619660dbe0960b Mon Sep 17 00:00:00 2001 From: sudoer777 <78781902+sudoer777@users.noreply.github.com> Date: Mon, 22 Nov 2021 14:07:06 -0700 Subject: [PATCH] Add formatting tweak to index.js --- public/scripts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); });