From: Vincent Vanwaelscappel Date: Fri, 6 Oct 2023 14:24:52 +0000 (+0200) Subject: wait #6373 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=df253f048ca8670bb937c51d66221b5911e906df;p=fluidbook-toolbox-quiz.git wait #6373 @0.5 --- diff --git a/js/quiz.score.js b/js/quiz.score.js index 9f501a2..80be495 100644 --- a/js/quiz.score.js +++ b/js/quiz.score.js @@ -103,14 +103,11 @@ QuizScore.prototype = { ok = this_score >= min_score ? 'ok' : 'nok'; log.answer = userAnswers; } else { + ok = 'neutral'; log.answer = $(this).find('input,textarea,select').val(); } } - if (!count) { - ok = 'ok'; - } - this.questionStatus[questionIndex] = { ok: ok, answers: answersStatus, }; diff --git a/style/101-header-footer.sass b/style/101-header-footer.sass index f14be6f..d4ccbd2 100644 --- a/style/101-header-footer.sass +++ b/style/101-header-footer.sass @@ -34,7 +34,7 @@ header margin-right: 7px &.active background-color: $texts-color - &.ok + &.ok,&.neutral background-color: $ok-color &.nok background-color: $nok-color