fixed not all _ replaced in the footer

This commit is contained in:
Jack 2021-09-10 16:51:43 +01:00
parent 0fdb74ce62
commit 9c9ec29c80

View file

@ -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);