Skip to content
Snippets Groups Projects
Commit 29058036 authored by Philip Kaluđerčić's avatar Philip Kaluđerčić :u7121:
Browse files

Update stats right after answering a question

parent 70f7b5a2
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
// ./LICENSE for more details.
"use strict";
const version = "$Id: quiz.js,v 1.17 2024/01/20 11:19:11 oj14ozun Exp oj14ozun $";
const version = "$Id: quiz.js,v 1.18 2024/01/20 12:27:50 oj14ozun Exp oj14ozun $";
const js_version = document.getElementById("js-version");
js_version.innerText = version;
......@@ -194,6 +194,9 @@ function submit() {
}
remember(current, ok);
// update question metadata
update_stats(current);
// set answer mode
class_list.add("answer");
class_list.remove("tried");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment