🎨 Clean code

This commit is contained in:
Daniel
2025-05-13 09:25:38 +08:00
parent 1ce1686a54
commit aa9b884bfa
2 changed files with 1 additions and 2 deletions
-1
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 {
+1 -1
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 || "";
}