mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 15:04:07 +01:00
🎨 Clean code
This commit is contained in:
parent
1ce1686a54
commit
aa9b884bfa
2 changed files with 1 additions and 2 deletions
|
|
@ -621,7 +621,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
|
|||
}, 450);
|
||||
}
|
||||
});
|
||||
const attrElement = item.querySelector(".protyle-attr")
|
||||
const attrElement = item.querySelector(".protyle-attr");
|
||||
if (data.new["custom-avs"] && !data.new["av-names"]) {
|
||||
nodeAttrHTML += attrElement.querySelector(".protyle-attr--av")?.outerHTML || "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue