From 85aca5230ee5ef42f404b2a611524efb0bedcfff Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 27 Sep 2023 23:13:53 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/9294 --- app/src/protyle/render/av/action.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index aace4e0a3..e219de630 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -172,8 +172,8 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle const addRowElement = hasClosestByClassName(event.target, "av__row--add"); if (addRowElement) { const avID = blockElement.getAttribute("data-av-id"); - const srcIDs = [Lute.NewNodeID()] - const previousID = addRowElement.getAttribute("data-id") || "", ; + const srcIDs = [Lute.NewNodeID()]; + const previousID = addRowElement.getAttribute("data-id") || ""; transaction(protyle, [{ action: "insertAttrViewBlock", avID,