From c3f53b4c3e37a944e5271ec89039187661d72c4d Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 5 Mar 2025 12:17:23 +0800 Subject: [PATCH] :rotating_light: --- app/src/protyle/toolbar/Font.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/toolbar/Font.ts b/app/src/protyle/toolbar/Font.ts index 5c4354a1e..34c973a08 100644 --- a/app/src/protyle/toolbar/Font.ts +++ b/app/src/protyle/toolbar/Font.ts @@ -219,7 +219,7 @@ export const appearanceMenu = (protyle: IProtyle, nodeElements?: Element[]) => { fontSizePXElement.parentElement.setAttribute("aria-label", fontSizePXElement.value + "px"); }); fontSizeEMElement.addEventListener("input", function () { - fontSizeEMElement.parentElement.setAttribute("aria-label", (parseFloat(fontSizeEMElement.value) * 100).toFixed(0) + "%") + fontSizeEMElement.parentElement.setAttribute("aria-label", (parseFloat(fontSizeEMElement.value) * 100).toFixed(0) + "%"); }); return element; };