mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-02 20:08:18 +08:00
fixed a bug where theme would be randomised when custom is enabled
This commit is contained in:
parent
a6ddadfc69
commit
01a09a4a48
1 changed files with 1 additions and 1 deletions
|
@ -2065,7 +2065,7 @@ function restartTest(withSameWordset = false) {
|
|||
el = $("#wordsWrapper");
|
||||
}
|
||||
if (resultVisible) {
|
||||
if (config.randomTheme && !pageTransition) {
|
||||
if (config.randomTheme && !pageTransition && !config.customTheme) {
|
||||
randomiseTheme();
|
||||
showNotification(config.theme.replace(/_/g, " "), 1500);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue