fixes IE bug with live ocders

This commit is contained in:
Mark Moser 2016-08-12 15:07:51 -05:00
parent 991925f33d
commit 2ed89e14e4

View File

@ -65,5 +65,5 @@
<% # we want the coders disabled until JS is confirmed, so form post is easier to validate %> <% # 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"); var coders = document.querySelectorAll("[data-id=live-coder-answer] textarea");
coders.forEach(function(textarea){ textarea.disabled = false; }); for(i=0; i<coders.length; i++){ coders[i].disabled = false; }
</script> </script>