Widget:Sandbox: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 773: | Line 773: | ||
} | } | ||
function questionNavigation(event) { | function questionNavigation(event) { | ||
if ($(this).attr("id") === "back") { | if ($(this).attr("id") === "back") { | ||
window.exam.currentQuestion--; | window.exam.currentQuestion--; | ||
Line 781: | Line 780: | ||
window.exam.currentQuestion = $(this).attr("id"); | window.exam.currentQuestion = $(this).attr("id"); | ||
} | } | ||
questionDisplay(window.exam); | questionDisplay(window.exam); | ||
} | } | ||
function questionReviewNavigation(event) { | function questionReviewNavigation(event) { | ||
if ($(this).attr("id") === "back") { | if ($(this).attr("id") === "back") { | ||
window.exam.currentQuestion--; | window.exam.currentQuestion--; | ||
Line 793: | Line 790: | ||
window.exam.currentQuestion = $(this).attr("id"); | window.exam.currentQuestion = $(this).attr("id"); | ||
} | } | ||
questionReview(window.exam); | questionReview(window.exam); | ||
} | } |