xAPI update

pull/1/head
Svein-Tore Griff With 2015-02-13 10:37:59 +01:00
parent 8c6fb5c2e5
commit d6ecc1705a
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}