small fixes

This commit is contained in:
Ross
2020-12-05 18:27:19 +00:00
parent b10a45599b
commit 09239f98fa
3 changed files with 26 additions and 21 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export function postAnswers(ans) {
(data) => {
console.log(data)
if (data.success) {
alert("Answers sucessfully submitted.");
alert(`${data.question_count} answers sucessfully submitted.`);
} else {
alert(`Error submitting answers: ${data.error}`);
}