This commit is contained in:
Jacob Levine 2019-03-18 18:35:59 -05:00
parent 7dbffc940a
commit c5f6ecae68
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
<script src="https://www.gstatic.com/firebasejs/5.7.2/firebase.js"></script>
<script src="https://cdn.firebase.com/libs/firebaseui/3.5.1/firebaseui.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/3.5.1/firebaseui.css" />
<link rel="stylesheet" href="../style.css" type="text/css" />
<link rel="stylesheet" href="../../style.css" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<script type="text/javascript" src="scripts.js"></script>
</head>

View File

@ -161,11 +161,11 @@ function updateForm(locString, teamNum, competition) {
}
function dec(id) {
document.getElementById(id).innerHTML = (parseInt(document.getElementById(id).innerHTML) - 1)).toString()
document.getElementById(id).innerHTML = (parseInt(document.getElementById(id).innerHTML) - 1).toString()
}
function inc(id) {
document.getElementById(id).innerHTML = (parseInt(document.getElementById(id).innerHTML) + 1)).toString()
document.getElementById(id).innerHTML = (parseInt(document.getElementById(id).innerHTML) + 1).toString()
}
function subReport(team, comp, matchNum) {

View File

@ -91,7 +91,7 @@ function changeTeam(teamNum) {
for (var i = 0; i < matches.length; i++) {
mi = compInfo["match-" + (i + 1).toString()]
//sets up the table lists. i really hope it doesn't break.
for (var j = 0; j < 2; i++) {
for (var j = 0; j < 2; j++) {
if (mi['far-blue']['series-' + (j + 1).toString()] != null) {
fb.push(mi['far-blue']['series-' + (j + 1).toString()]);
} else {