implemented answer checking, modulo scores
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user