diff --git a/app/views/quiz/_live_code.html.erb b/app/views/quiz/_live_code.html.erb index 1559583..5e76e3a 100644 --- a/app/views/quiz/_live_code.html.erb +++ b/app/views/quiz/_live_code.html.erb @@ -21,7 +21,7 @@ asked to write code, and it utilizes a JavaScript-enabled environment. It looks like JavaScript is not loaded. - + <% unless params[:action] == 'summary' %> Please check the box below to acknowledge that you agree to come back at a later time to finish answering this question before you can submit the test. @@ -65,5 +65,5 @@ <% # we want the coders disabled until JS is confirmed, so form post is easier to validate %> var coders = document.querySelectorAll("[data-id=live-coder-answer] textarea"); - coders.forEach(function(textarea){ textarea.disabled = false; }); + for(i=0; i