From b2bb2df3f083fe7b6569f5b3c469d3b18ea49b4a Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Mon, 18 Mar 2019 19:10:18 -0500 Subject: [PATCH] bugfix 10, now with template literals --- website/public/scout/signUps/scripts.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/public/scout/signUps/scripts.js b/website/public/scout/signUps/scripts.js index a9cbb02e..5cc19eb1 100644 --- a/website/public/scout/signUps/scripts.js +++ b/website/public/scout/signUps/scripts.js @@ -95,32 +95,32 @@ function changeTeam(teamNum) { if (mi['far-blue']['series-' + (j + 1).toString()] != null) { fb.push(mi['far-blue']['series-' + (j + 1).toString()]); } else { - fb.push("open"); + fb.push(`open`); } if (mi['mid-blue']['series-' + (j + 1).toString()] != null) { mb.push(mi['mid-blue']['series-' + (j + 1).toString()]); } else { - mb.push("open"); + mb.push(`open`); } if (mi['near-blue']['series-' + (j + 1).toString()] != null) { nb.push(mi['near-blue']['series-' + (j + 1).toString()]); } else { - nb.push("open"); + nb.push(`open`); } if (mi['far-red']['series-' + (j + 1).toString()] != null) { fr.push(mi['far-red']['series-' + (j + 1).toString()]); } else { - fr.push("open"); + fr.push(`open`); } if (mi['mid-red']['series-' + (j + 1).toString()] != null) { mr.push(mi['mid-red']['series-' + (j + 1).toString()]); } else { - mr.push("open"); + mr.push(`open`); } if (mi['near-red']['series-' + (j + 1).toString()] != null) { nr.push(mi['near-red']['series-' + (j + 1).toString()]); } else { - nr.push("open") + nr.push(`open`) } } var outstr = "";