mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
fix typos
This commit is contained in:
parent
45a4387c68
commit
dd5da3b1e8
@ -2,8 +2,6 @@
|
||||
<html lang="en" dir="ltr">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>
|
||||
<meta charset="utf-8">
|
||||
<title>titanscout</title>
|
||||
<script src="https://www.gstatic.com/firebasejs/5.7.2/firebase.js"></script>
|
||||
|
@ -49,7 +49,8 @@ window.onload = function() {
|
||||
}
|
||||
teamAssoc = firebase.firestore().collections('UserAssociations').doc(user.uid);
|
||||
teamAssoc.get().then(function(doc) {
|
||||
if(doc.exists)}{
|
||||
if (doc.exists)
|
||||
} {
|
||||
list = doc.data()
|
||||
teamNums = Object.keys(list)
|
||||
document.getElementById(teammem).innerHTML = ""
|
||||
@ -62,11 +63,15 @@ window.onload = function() {
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
function cnt(tn) {
|
||||
firebase.firestore().collection("UserAssociations").doc(user.id).set({tn : 'captain'} , { merge: true }).then(
|
||||
teamAssoc=firebase.firestore().collections('UserAssociations').doc(user.uid);
|
||||
teamAssoc.get().then(function(doc){
|
||||
if(doc.exists)}{
|
||||
firebase.firestore().collection("UserAssociations").doc(user.id).set({
|
||||
tn: 'captain'
|
||||
}, {
|
||||
merge: true
|
||||
}).then(
|
||||
teamAssoc = firebase.firestore().collections('UserAssociations').doc(user.uid) teamAssoc.get().then(function(doc) {
|
||||
if (doc.exists) {
|
||||
list = doc.data()
|
||||
teamNums = Object.keys(list)
|
||||
document.getElementById(teammem).innerHTML = ""
|
||||
@ -79,6 +84,7 @@ function cnt(tn) {
|
||||
})
|
||||
)
|
||||
}
|
||||
|
||||
function signout() {
|
||||
var user = firebase.auth().currentUser;
|
||||
firebase.auth().signOut().then(
|
||||
|
Loading…
Reference in New Issue
Block a user