From 89a229463ef6b948183d646507e783efec0cad4c Mon Sep 17 00:00:00 2001 From: Jack Date: Thu, 16 Jul 2020 23:29:29 +0100 Subject: [PATCH] showing random theme quicker showing a notification with the random theme name --- public/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index c3affaba6..18807560b 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -1505,7 +1505,6 @@ function restartTest(withSameWordset = false) { array: [], }, }; - hideTimer(); $("#timerNumber").css("opacity", 0); // restartTimer(); let el = null; @@ -1518,6 +1517,7 @@ function restartTest(withSameWordset = false) { } if (resultVisible) { if (config.randomTheme) randomiseTheme(); + showNotification(config.theme.replace("_", " "), 1500); $("#words").stop(true, true).animate( { opacity: 0,