This commit is contained in:
Jacob Levine 2019-03-07 20:55:49 -06:00
parent 1925943660
commit 302f6b794d

View File

@ -43,9 +43,9 @@ window.onload = function() {
if (doc.exists) { if (doc.exists) {
list = doc.data() list = doc.data()
teamNums = Object.keys(list) teamNums = Object.keys(list)
document.getElementById(tns).innerHTML = "" document.getElementById('tns').innerHTML = ""
for (var i = 0; i < teamNums.length; i++) { for (var i = 0; i < teamNums.length; i++) {
document.getElementById(tns).innerHTML += "<option value='" + teamNums[i] + "'>" + teamNums[i] + "</option>" document.getElementById('tns').innerHTML += "<option value='" + teamNums[i] + "'>" + teamNums[i] + "</option>"
} }
} else {} } else {}
}) })