some big changes...

This commit is contained in:
Ross
2026-07-04 22:40:56 +01:00
parent f74aba0e9c
commit 8ab8a7e8db
5 changed files with 187 additions and 74 deletions
+4
View File
@@ -4,6 +4,10 @@ import * as config from "./config.js";
* Submits answers
*/
export function submitAnswers(exam_details, db, URLS) {
if (!exam_details || !exam_details.exam_mode) {
alert("Answers can only be submitted when the exam is in exam mode.");
return;
}
getJsonAnswers(exam_details, db)
.then((a) => {
let json = {