testing mistakes

This commit is contained in:
Jacob Levine 2019-03-22 07:37:05 -05:00
parent 8244efa09b
commit 169c1737b2

View File

@ -375,6 +375,11 @@ function subReport() {
}else if (x[i].children[1].tagName == "TEXTAREA") { }else if (x[i].children[1].tagName == "TEXTAREA") {
push[`${series}-${user.uid.toString()}`.toString()][x[i].children[1].id] = x[i].children[1].innerHTML; push[`${series}-${user.uid.toString()}`.toString()][x[i].children[1].id] = x[i].children[1].innerHTML;
} }
}
try {
delete push[`${series}-${user.uid.toString()}`.toString()][""]
} catch (e) {
} }
firebase.firestore().collection('webData').doc('test').set(push).then(function() { firebase.firestore().collection('webData').doc('test').set(push).then(function() {
alert('Submitted!') alert('Submitted!')