implemented answer checking, modulo scores

This commit is contained in:
sm
2013-05-09 00:16:54 -07:00
parent 4fa2e2bbd3
commit 6aaa72475a
2 changed files with 50 additions and 7 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ function deal_with_answer(e) {
"answer": $("#answer").val(),
};
$.post("/api/v0/attempt/", data, function(d) {
if(d["status"]) {
if(d["Status"]) {
$("body").removeClass("wrong");
new_problem();
}