Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 1b36b82

Browse files
committed
always set answer
1 parent edee1af commit 1b36b82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runestone/mchoice/js/mchoice.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,9 +521,9 @@ export default class MultipleChoice extends RunestoneBase {
521521
}
522522

523523
scoreMCMFSubmission() {
524+
this.answer = this.givenArray[0]
524525
if (this.givenArray[0] == this.correctIndexList[0]) {
525526
this.correct = true;
526-
this.answer = this.givenArray[0]
527527
this.percent = 1.0;
528528
} else if (this.givenArray[0] != null) {
529529
// if given is null then the question wasn"t answered and should be counted as skipped

0 commit comments

Comments
 (0)