From 4398de71ba255b2b582688388de5d80b5d2ff7a8 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Thu, 21 Mar 2019 23:28:18 -0500 Subject: [PATCH] website for peoria --- website/public/scout/scripts.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/public/scout/scripts.js b/website/public/scout/scripts.js index 696cbdd5..fc204a17 100644 --- a/website/public/scout/scripts.js +++ b/website/public/scout/scripts.js @@ -55,7 +55,7 @@ window.onload = function() { } function changeTeam(teamNum) { - document.getElementById('mSelect').innerHTML = "" + document.getElementById('mselect').innerHTML = "" var user = firebase.auth().currentUser; ti = firebase.firestore().collection('teamData').doc("team-" + teamNum); currentComp = null; @@ -75,7 +75,7 @@ function changeTeam(teamNum) { //regex search! var pattern = /\d+/; var name = dc.id; - document.getElementById('mSelect').innerHTML += ""; + document.getElementById('mselect').innerHTML += ""; }); cmatch(document.getElementById('mselect').value); }); @@ -83,7 +83,7 @@ function changeTeam(teamNum) { }); } -function cmatch(matchName) { +function cmatch(matchName) {m document.getElementById('tselect').innerHTML = "" var user = firebase.auth().currentUser; ti = firebase.firestore().collection('teamData').doc("team-" + teamNum); @@ -118,7 +118,7 @@ function cmatch(matchName) { } function cseries(seriesName) { - document.getElementById('mSelect').innerHTML = "" + document.getElementById('mselect').innerHTML = "" var user = firebase.auth().currentUser; ti = firebase.firestore().collection('teamData').doc("team-" + teamNum); currentComp = null; @@ -300,7 +300,7 @@ function inc(id) { } function subReport() { - document.getElementById('mSelect').innerHTML = "" + document.getElementById('mselect').innerHTML = "" var user = firebase.auth().currentUser; ti = firebase.firestore().collection('teamData').doc("team-" + teamNum); currentComp = null;