mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-03 04:19:06 +08:00
fixed a bug that would not allow changing of font from the command line
This commit is contained in:
parent
e6df34e3c5
commit
25684b8f40
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ $.getJSON("js/fonts.json", function (data) {
|
|||
id: "changeFont" + font.name.replace(/ /g, "_"),
|
||||
display: font.display !== undefined ? font.display : font.name,
|
||||
exec: () => {
|
||||
setFontFamily(font.name);
|
||||
setFontFamily(font.name.replace(/ /g, "_"));
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue