From 33585ae1735841b0120d27b47f22f30abf4152d6 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 30 Nov 2023 23:34:45 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/9751 --- app/src/protyle/render/av/action.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 18f800742..4a070612c 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -241,6 +241,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle return true; } else if (target.classList.contains("item") && target.parentElement.classList.contains("layout-tab-bar")) { if (!target.classList.contains("item--focus")) { + blockElement.removeAttribute("data-render"); avRender(blockElement, protyle, undefined, target.dataset.id); } event.preventDefault();