mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 23:36:37 +08:00
parent
07ef4fe243
commit
aafbfce74e
|
@ -45,7 +45,7 @@ const debouncedZipfCheck = debounce(250, () => {
|
|||
ConfigEvent.subscribe((eventKey, eventValue, nosave) => {
|
||||
if (
|
||||
(eventKey === "language" || eventKey === "funbox") &&
|
||||
(eventValue as string).split("#").includes("zipf")
|
||||
Config.funbox.split("#").includes("zipf")
|
||||
) {
|
||||
debouncedZipfCheck();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue