From: soufiane Date: Fri, 29 Sep 2023 14:45:48 +0000 (+0200) Subject: wait #6325 @0:01 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=bcf31989dd7a30d013c362e2234acd7df2e1caa9;p=fluidbook-toolbox-quiz.git wait #6325 @0:01 --- diff --git a/js/quiz.screen.outro.js b/js/quiz.screen.outro.js index e84f12e..37f20e2 100644 --- a/js/quiz.screen.outro.js +++ b/js/quiz.screen.outro.js @@ -36,11 +36,13 @@ QuizScreenOutro.prototype = { .to("#progress-counter", { scale: 1, }) - tl.to(".active-screen #progress-circle", { - drawSVG: percent + "%", - duration: 1.5, - ease: "power4.easeOut" - }, ">-0.5") + if(score > 0) { + tl.to(".active-screen #progress-circle", { + drawSVG: percent + "%", + duration: 1.5, + ease: "power4.easeOut" + }, ">-0.5") + } tl.to(".score-text", { scale: 1, }, 1.3)