added multiplication
This commit is contained in:
+2
-1
@@ -6,7 +6,8 @@ function update_board(f, o, s, score) {
|
||||
}
|
||||
|
||||
function new_problem() {
|
||||
$.get("/api/v0/problem/", function(d) {
|
||||
var type = document.URL.split('/')[3];
|
||||
$.get("/api/v0/"+type+"/problem/", function(d) {
|
||||
update_board(d["First"], d["Operation"], d["Second"], d["Score"]);
|
||||
$("#answer").val("");
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user