mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-11 18:03:30 +08:00
removed square brackets from custom button
This commit is contained in:
parent
ff1098abf6
commit
940bbb29bb
1 changed files with 3 additions and 3 deletions
|
@ -268,9 +268,9 @@ settingsGroups.fontFamily = new SettingsGroup(
|
|||
let customButton = $(".pageSettings .section.fontFamily .buttons .custom");
|
||||
if ($(".pageSettings .section.fontFamily .buttons .active").length === 0) {
|
||||
customButton.addClass("active");
|
||||
customButton.text(`[Custom] (${config.fontFamily.replace(/_/g, " ")})`);
|
||||
customButton.text(`Custom (${config.fontFamily.replace(/_/g, " ")})`);
|
||||
} else {
|
||||
customButton.text("[Custom]");
|
||||
customButton.text("Custom");
|
||||
}
|
||||
}
|
||||
);
|
||||
|
@ -364,7 +364,7 @@ async function fillSettingsPage() {
|
|||
);
|
||||
});
|
||||
$(
|
||||
'<div class="language button no-auto-handle custom" onclick="this.blur();">[Custom]</div>'
|
||||
'<div class="language button no-auto-handle custom" onclick="this.blur();">Custom</div>'
|
||||
)
|
||||
.on("click", () => {
|
||||
simplePopups.applyCustomFont.show([]);
|
||||
|
|
Loading…
Reference in a new issue