From 02496a812763cf07a57a1ca1e8cde45ac18b3357 Mon Sep 17 00:00:00 2001 From: Ravi Majithia Date: Fri, 11 Nov 2022 10:35:37 +0100 Subject: [PATCH] Remove unwanted flag for question set - This flag kept question set answered even if user hasn't selected any option --- scripts/mark-the-words.js | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/mark-the-words.js b/scripts/mark-the-words.js index 1c1b102..e9ee1e5 100644 --- a/scripts/mark-the-words.js +++ b/scripts/mark-the-words.js @@ -232,7 +232,6 @@ H5P.MarkTheWords = (function ($, Question, Word, KeyboardNav, XapiGenerator) { // Add keyboard navigation to this element var selectableWord = new Word($(this), self.params); if (selectableWord.isAnswer()) { - self.isAnswered = true; self.answers += 1; } self.selectableWords.push(selectableWord);