From f9e4a6c53dcf9c8fc1c6cf077a90399af084232f Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Fri, 22 Mar 2019 08:51:42 -0500 Subject: [PATCH] web3 --- website/public/scout/scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/public/scout/scripts.js b/website/public/scout/scripts.js index 6969d4e6..459d4f51 100644 --- a/website/public/scout/scripts.js +++ b/website/public/scout/scripts.js @@ -234,7 +234,7 @@ function processAndAppendReturn(data, newloc) { document.getElementById(newloc).innerHTML += "
"; document.getElementById(newloc + j.toString()).innerHTML += questions[j][0]; if (questions[j][0]=='cycleTimes') { - document.getElementById(newloc + j.toString()).innerHTML += " (on a scale from 0 to 10)" + document.getElementById(newloc + j.toString()).innerHTML += " (on a scale from 1 to 10)" } if (questions[j][1]['type'] == 'shortText') { document.getElementById(newloc + j.toString()).innerHTML += ""; @@ -243,7 +243,7 @@ function processAndAppendReturn(data, newloc) { } else if (questions[j][1]['type'] == 'stepper') { document.getElementById(newloc + j.toString()).innerHTML += "" + (questions[j][1]['defaultValue']).toString() + ""; } else if (questions[j][1]['type'] == 'label') { - document.getElementById(newloc + j.toString()).innerHTML += "" + (questions[j][1]['defaultValue']).toString() + ""; + document.getElementById(newloc + j.toString()).innerHTML += "" + (0).toString() + ""; } else if (questions[j][1]['type'] == 'slider') { document.getElementById(newloc + j.toString()).innerHTML += "  " + questions[j][1]['min'] + "  "; document.getElementById(newloc + j.toString()).innerHTML += "";