]> _ Git - fluidbook-toolbox.git/commitdiff
fix #3534 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 31 Mar 2020 06:45:56 +0000 (08:45 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 31 Mar 2020 06:45:56 +0000 (08:45 +0200)
resources/quiz/js/main.js

index 7d1c819bc6aa73c449c77dd1c3b2bdd03c4a917c..53da1f0157f601bd908e220aa65d92cf79f5c3a7 100644 (file)
         function completed() {
             updateScore();
 
-            setSCORMScore(score, $(".answer.active").length, 0);
+            setSCORMScore(score, $("section.question").length, 0);
             setScormValue('cmi.core.lesson_status', 'completed');
             setSCORMLocation({q: 1});
 
         return {sprintf: y, vsprintf: e}
     }))
 }();
-//# sourceMappingURL=sprintf.min.js.map
\ No newline at end of file
+//# sourceMappingURL=sprintf.min.js.map