From c5dc49f442284148ce7a55ab36e4c501d5d251d4 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Thu, 7 Mar 2019 19:57:20 -0600 Subject: [PATCH] final profile fix --- website/public/team/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/public/team/scripts.js b/website/public/team/scripts.js index 102db036..9cf89855 100644 --- a/website/public/team/scripts.js +++ b/website/public/team/scripts.js @@ -47,7 +47,6 @@ window.onload = function() { } else { window.location.replace('../'); } - firebase.firestore.settings({timestampsInSnapshots: true}) teamAssoc = firebase.firestore().collection('UserAssociations').doc(user.uid); teamAssoc.get().then(function(doc) { if (doc.exists) { @@ -62,6 +61,7 @@ window.onload = function() { } }) }); + firebase.firestore.settings({timestampsInSnapshots: true}) } function cnt(tn) {