diff --git a/website/public/team/scripts.js b/website/public/team/scripts.js index 3629bd94..d1d5f01b 100644 --- a/website/public/team/scripts.js +++ b/website/public/team/scripts.js @@ -64,6 +64,7 @@ window.onload = function() { } function cnt(tn) { + user=firebase.auth().currentUser; firebase.firestore().collection("UserAssociations").doc(user.id).set({ tn: 'captain' }, {