From d6ecc1705a5962c46f76b44abf9a7ad1722ed2a5 Mon Sep 17 00:00:00 2001 From: Svein-Tore Griff With Date: Fri, 13 Feb 2015 10:37:59 +0100 Subject: [PATCH] xAPI update --- js/questionset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/questionset.js b/js/questionset.js index 6050ae4..f93c871 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -355,7 +355,7 @@ H5P.QuestionSet = function (options, contentId) { question.attach($('.question-container:eq(' + i + ')', $myDom)); question.on('xAPI', function (event) { - if (event.verb === 'attempted') { + if (event.getVerb() === 'attempted') { $('.progress-dot:eq(' + currentQuestion +')', $myDom).removeClass('unanswered').addClass('answered'); _updateButtons(); }