From 56f6752ff76c7f7a1efb644d7c1ef8cdbfe60ad8 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Fri, 22 Mar 2019 11:50:03 -0500 Subject: [PATCH] fixed textArea bug --- website/public/scout/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/public/scout/scripts.js b/website/public/scout/scripts.js index 39b57d55..6aa4fe9a 100644 --- a/website/public/scout/scripts.js +++ b/website/public/scout/scripts.js @@ -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;