From 0cb14f6f8e2e397ef73309ea3bd7ec7bb65947f7 Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Thu, 15 Jun 2017 17:16:00 -0600 Subject: [PATCH] adjusted input methods --- resources/questions/scenarios.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/resources/questions/scenarios.js b/resources/questions/scenarios.js index 64da714..c5870bb 100644 --- a/resources/questions/scenarios.js +++ b/resources/questions/scenarios.js @@ -2,7 +2,7 @@ window.onload = function(){ addScenario = function(scenario){ - let $liElement = $("
  • ") + let $liElement = $("
  • ") if(scenario.adult == true){ $adultText = $("

    (question for those over the age of 18... or those mature enough)

    "); @@ -12,16 +12,15 @@ window.onload = function(){ $options = $(""); for(option of scenario.options){ - $options.append($("
  • " + option + "
  • ")); + $options.append($("
  • " + option + "
  • ")); } $question = $("

    " + scenario.question + "

    "); - $input = $(""); - + $textArea = $("") $liElement.append($description); $liElement.append($options); - $liElement.append($input); + $liElement.append($textArea); $("#scenarios").append($liElement); }