mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Clean code
This commit is contained in:
parent
1ce1686a54
commit
aa9b884bfa
2 changed files with 1 additions and 2 deletions
|
|
@ -11,7 +11,6 @@ import {MenuItem} from "./Menu";
|
|||
import {App} from "../index";
|
||||
import {exportByMobile, isInAndroid, updateHotkeyTip} from "../protyle/util/compatibility";
|
||||
import {checkFold} from "../util/noRelyPCFunction";
|
||||
import {showMessage} from "../dialog/message";
|
||||
|
||||
export const exportAsset = (src: string) => {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -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