From 656a6f966e9751121554087712d5d8be047c9cac Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 20 Sep 2022 18:40:05 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/insider/issues/1072 --- app/src/protyle/toolbar/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts index 506b5364a..ffdb77fe1 100644 --- a/app/src/protyle/toolbar/index.ts +++ b/app/src/protyle/toolbar/index.ts @@ -724,8 +724,8 @@ export class Toolbar { event.stopPropagation(); switch (btnElement.getAttribute("data-type")) { case "close": - this.subElement.classList.add("fn__none"); this.subElement.querySelector('[data-type="pin"]').classList.remove("block__icon--active"); + hideElements(["util"], protyle); break; case "pin": if (btnElement.classList.contains("block__icon--active")) {