Save content state on xAPI answered

pull/107/head
Oliver Tacke 2021-10-18 12:57:03 +02:00
parent 218125f7cd
commit 6b5372c52f
1 changed files with 1 additions and 1 deletions

View File

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