mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 21:33:40 +08:00
fixed zen pace caret warning always showing up
This commit is contained in:
parent
00174a417a
commit
e4b3e6a881
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ function setPaceCaret(val, nosave) {
|
|||
if (val == undefined) {
|
||||
val = "off";
|
||||
}
|
||||
if (config.mode === "zen") {
|
||||
if (config.mode === "zen" && val != "off") {
|
||||
Notifications.add(`Can't use pace caret with zen mode.`, 0);
|
||||
val = "off";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue