summaryrefslogtreecommitdiff
path: root/templates/exam/question.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/exam/question.html')
-rw-r--r--templates/exam/question.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/exam/question.html b/templates/exam/question.html
index 8d4c0bd..1798606 100644
--- a/templates/exam/question.html
+++ b/templates/exam/question.html
@@ -3,13 +3,13 @@
<script language="javascript">
function submitCode()
{
+ document.forms["code"].submit();
var x = document.getElementById("status");
x.innerHTML = "<strong>Checking answer ...</strong>";
x = document.getElementById("check");
x.disabled = true;
x.value = "Checking Answer ...";
document.getElementById("skip").disabled = true;
- document.forms["code"].submit();
}
</script>