mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-11 00:03:44 +08:00
prevented from using read ahead easy and hard in combination with highlight mode word
This commit is contained in:
parent
48db619a8c
commit
6c8376e3f2
1 changed files with 4 additions and 1 deletions
|
@ -640,7 +640,10 @@ function toggleLiveAcc() {
|
|||
function setHighlightMode(mode, nosave) {
|
||||
if (
|
||||
mode === "word" &&
|
||||
(activeFunbox === "nospace" || activeFunbox === "read_ahead")
|
||||
(activeFunbox === "nospace" ||
|
||||
activeFunbox === "read_ahead" ||
|
||||
activeFunbox === "read_ahead_easy" ||
|
||||
activeFunbox === "read_ahead_hard")
|
||||
) {
|
||||
Notifications.add("Can't use word highlight with this funbox", 0);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue