fixed textArea bug

This commit is contained in:
Jacob Levine 2019-03-22 11:50:03 -05:00
parent 31c8c9ee86
commit 56f6752ff7

View File

@ -382,7 +382,7 @@ function subReport() {
var name = x[i].children[0].id;
push[`${series}-${user.uid.toString()}`.toString()][name] = document.querySelector('input[name="' + name + '"]:checked').value;
} 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].value;
}
}
push[`${series}-${user.uid.toString()}`.toString()]['match']='match-'+matchNum;