From bcf31989dd7a30d013c362e2234acd7df2e1caa9 Mon Sep 17 00:00:00 2001 From: soufiane Date: Fri, 29 Sep 2023 16:45:48 +0200 Subject: [PATCH] wait #6325 @0:01 --- js/quiz.screen.outro.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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) -- 2.39.5