From e5bb5b6ef7743813edede2aef5bc6d7662d089a6 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Fri, 22 Mar 2019 09:12:29 -0500 Subject: [PATCH] web3 --- website/public/scout/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/public/scout/scripts.js b/website/public/scout/scripts.js index 459d4f51..eb28ba07 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(function() { + 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';