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

Commit 4d88d78

Browse files
authored
Merge pull request #1345 from ascholerChemeketa/parson_distractor_fix
Make sure answers that have a distractor at end show visible error
2 parents ac5c304 + 4b5d7ed commit 4d88d78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runestone/parsons/js/lineGrader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export default class LineBasedGrader {
6666
} else if (answerLines.length == solutionLines.length) {
6767
this.correctLength = true;
6868
} else {
69+
state = "incorrectMoveBlocks";
6970
this.correctLength = false;
7071
}
7172

0 commit comments

Comments
 (0)