fix: closing commandline causing settings page update

This commit is contained in:
Miodec 2024-02-15 19:56:37 +01:00
parent 83d935709b
commit f9b537be1e

View file

@ -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 {