fix: quiz and timetable issues

This commit is contained in:
Jannat Patel
2023-11-24 12:37:34 +05:30
parent ddcb718a3a
commit fd9a638879
3 changed files with 23 additions and 17 deletions

View File

@@ -182,7 +182,7 @@ const check_answer = (e = undefined) => {
$(".explanation").removeClass("hide");
$("#check").addClass("hide");
if (current_index == total_questions) {
if (current_index == total_questions - 1) {
$("#summary").removeClass("hide");
} else if (this.show_answers) {
$("#next").removeClass("hide");