From 940bbb29bb7cf16864decdeee31e0888d5e5ec63 Mon Sep 17 00:00:00 2001 From: Miodec Date: Thu, 18 Feb 2021 01:46:22 +0000 Subject: [PATCH] removed square brackets from custom button --- src/js/settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/settings.js b/src/js/settings.js index 78f38ae86..2a0d62004 100644 --- a/src/js/settings.js +++ b/src/js/settings.js @@ -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() { ); }); $( - '
[Custom]
' + '
Custom
' ) .on("click", () => { simplePopups.applyCustomFont.show([]);