From 6d96b91a5da02a4366f638bffb2fa2dc9dd77416 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 18 Apr 2023 13:40:26 +0800 Subject: [PATCH] :rotating_light: --- app/src/protyle/ui/hideElements.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/ui/hideElements.ts b/app/src/protyle/ui/hideElements.ts index eff7fa50f..4ee0e7b48 100644 --- a/app/src/protyle/ui/hideElements.ts +++ b/app/src/protyle/ui/hideElements.ts @@ -60,7 +60,7 @@ export const hideAllElements = (types: string[]) => { } if (types.includes("util")) { /// #if MOBILE - const editor = getCurrentEditor() + const editor = getCurrentEditor(); editor.protyle.toolbar.subElement.classList.add("fn__none"); if (editor.protyle.toolbar.subElementCloseCB) { editor.protyle.toolbar.subElementCloseCB(); @@ -73,7 +73,7 @@ export const hideAllElements = (types: string[]) => { item.editor.protyle.toolbar.subElementCloseCB(); item.editor.protyle.toolbar.subElementCloseCB = undefined; } - }) + }); /// #endif } if (types.includes("pdfutil")) {