From df253f048ca8670bb937c51d66221b5911e906df Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 6 Oct 2023 16:24:52 +0200 Subject: [PATCH] wait #6373 @0.5 --- js/quiz.score.js | 5 +---- style/101-header-footer.sass | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) 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 -- 2.39.5