From 9c9ec29c80c87aad3a9418aee7c0a47c625305be Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 10 Sep 2021 16:51:43 +0100 Subject: [PATCH] fixed not all _ replaced in the footer --- src/js/theme-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/theme-controller.js b/src/js/theme-controller.js index b62d69373..b1e570d36 100644 --- a/src/js/theme-controller.js +++ b/src/js/theme-controller.js @@ -124,7 +124,7 @@ export function apply(themeName, isPreview = false) { } if (!isPreview) { ThemeColors.get().then((colors) => { - $(".current-theme .text").text(themeName.replace("_", " ")); + $(".current-theme .text").text(themeName.replace(/_/g, " ")); $(".keymap-key").attr("style", ""); ChartController.updateAllChartColors(); updateFavicon(128, 32);