Commit bba425ec by dragonfi

Restore correct checkmarks for standard mode

parent 6ba68504
......@@ -26,7 +26,7 @@ function AnswerBlock(runtime, element) {
this.clearResult();
if (result.completed) {
if (result.status === "correct") {
checkmark.addClass('checkmark-correct icon-ok fa-check');
}
else {
......
......@@ -94,7 +94,7 @@ function MCQBlock(runtime, element, mentoring) {
var choiceTipsDOM = $('.choice-tips', choiceDOM);
var choiceTipsCloseDOM;
if (result.completed && choiceInputDOM.val() === result.submission) {
if (result.status === "correct" && choiceInputDOM.val() === result.submission) {
choiceResultDOM.addClass('checkmark-correct icon-ok fa-check');
}
else if (choiceInputDOM.val() === result.submission || _.isNull(result.submission)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment