🎨 Clean code

This commit is contained in:
Daniel 2025-05-13 09:25:38 +08:00
parent 1ce1686a54
commit aa9b884bfa
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 1 additions and 2 deletions

View file

@ -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 {

View file

@ -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 || "";
}