mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-09 17:04:30 +08:00
fix: closing commandline causing settings page update
This commit is contained in:
parent
83d935709b
commit
f9b537be1e
1 changed files with 2 additions and 2 deletions
|
|
@ -500,7 +500,7 @@ $(document).ready(() => {
|
|||
} else {
|
||||
hide();
|
||||
}
|
||||
UpdateConfig.setFontFamily(Config.fontFamily, true);
|
||||
UpdateConfig.previewFontFamily(Config.fontFamily);
|
||||
return;
|
||||
}
|
||||
if (
|
||||
|
|
@ -619,7 +619,7 @@ $("#commandLineWrapper #commandLine").on(
|
|||
$("#commandLineWrapper").on("mousedown", (e) => {
|
||||
if ($(e.target).attr("id") === "commandLineWrapper") {
|
||||
hide();
|
||||
UpdateConfig.setFontFamily(Config.fontFamily, true);
|
||||
UpdateConfig.previewFontFamily(Config.fontFamily);
|
||||
// if (Config.customTheme === true) {
|
||||
// applyCustomThemeColors();
|
||||
// } else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue