xAPI update
parent
8c6fb5c2e5
commit
d6ecc1705a
|
@ -355,7 +355,7 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
|
|
||||||
question.attach($('.question-container:eq(' + i + ')', $myDom));
|
question.attach($('.question-container:eq(' + i + ')', $myDom));
|
||||||
question.on('xAPI', function (event) {
|
question.on('xAPI', function (event) {
|
||||||
if (event.verb === 'attempted') {
|
if (event.getVerb() === 'attempted') {
|
||||||
$('.progress-dot:eq(' + currentQuestion +')', $myDom).removeClass('unanswered').addClass('answered');
|
$('.progress-dot:eq(' + currentQuestion +')', $myDom).removeClass('unanswered').addClass('answered');
|
||||||
_updateButtons();
|
_updateButtons();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue