mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-09-07 07:27:20 +00:00
testing mistakes
This commit is contained in:
@@ -375,6 +375,11 @@ function subReport() {
|
||||
}else if (x[i].children[1].tagName == "TEXTAREA") {
|
||||
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() {
|
||||
alert('Submitted!')
|
||||
|
Reference in New Issue
Block a user