This commit is contained in:
Jacob Levine 2019-03-21 23:30:38 -05:00
parent 06242f0b2a
commit 0bf52e1c29

View File

@ -84,6 +84,7 @@ function changeTeam(teamNum) {
} }
function cmatch(matchName) { function cmatch(matchName) {
teamNum = document.getElementById('tns').value;
document.getElementById('tselect').innerHTML = "" document.getElementById('tselect').innerHTML = ""
var user = firebase.auth().currentUser; var user = firebase.auth().currentUser;
ti = firebase.firestore().collection('teamData').doc("team-" + teamNum); ti = firebase.firestore().collection('teamData').doc("team-" + teamNum);