From 88067f47a6e45a7c75a649bee4d1bb59ea8a9b3e Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 14 Sep 2020 21:35:39 +0100 Subject: [PATCH] crown fix --- public/index.html | 30 +++++++++++++++--------------- public/js/script.js | 1 + 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/public/index.html b/public/index.html index 9a881fd45..2ee39d201 100644 --- a/public/index.html +++ b/public/index.html @@ -2855,21 +2855,21 @@ - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/public/js/script.js b/public/js/script.js index bf1a628ae..1b247c304 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -1919,6 +1919,7 @@ function showResult(difficultyFailed = false) { showCrown(); $("#result .stats .wpm .crown").attr('aria-label', '+' + roundTo2(pbDiff)); } else { + hideCrown(); $("#result .stats .wpm .crown").attr('aria-label', ''); } localPb = true;