]> _ Git - fluidbook-toolbox-quiz.git/commitdiff
wip #6321 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 28 Sep 2023 15:00:03 +0000 (17:00 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 28 Sep 2023 15:00:03 +0000 (17:00 +0200)
js/quiz.scorm.js

index bad02ad43045865d0d00d927fc0335bfdfb449c2..96c1c5ca4e1a527802ad42c70b1c0ee7fb3e0fb9 100644 (file)
@@ -47,6 +47,11 @@ QuizScorm.prototype = {
             return;
         }
         cubeSCORM.setSCORMLocation(state);
+    },
+
+    quit: function () {
+        cubeSCORM.finishScorm();
+        cubeSCORM.scormClose();
     }
 };