Save content state on xAPI answered
parent
218125f7cd
commit
6b5372c52f
|
@ -243,7 +243,7 @@ H5P.init = function (target) {
|
|||
// xAPI events will schedule a save in three seconds.
|
||||
H5P.on(instance, 'xAPI', function (event) {
|
||||
var verb = event.getVerb();
|
||||
if (verb === 'completed' || verb === 'progressed') {
|
||||
if (verb === 'completed' || verb === 'progressed' || verb === 'answered') {
|
||||
clearTimeout(saveTimer);
|
||||
saveTimer = setTimeout(save, 3000);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue