mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-03 12:29:46 +08:00
showing random theme quicker
showing a notification with the random theme name
This commit is contained in:
parent
427df3282d
commit
89a229463e
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue