diff --git a/website/public/scout/scripts.js b/website/public/scout/scripts.js index eb28ba07..0bfff4f9 100644 --- a/website/public/scout/scripts.js +++ b/website/public/scout/scripts.js @@ -392,7 +392,7 @@ function subReport() { } catch (e) { } - firebase.firestore().collection("data").doc('team-' + document.getElementById('tns').value).collection(currentComp).doc("team-" + teamNum).collection('matches').doc('match-' + matchNum).set(push { + firebase.firestore().collection("data").doc('team-' + document.getElementById('tns').value).collection(currentComp).doc("team-" + teamNum).collection('matches').doc('match-' + matchNum).set(push, { alert('Submitted!') setTimeout(function() { window.location.href = '../scout';