🎨 Clean code

This commit is contained in:
Daniel 2024-04-11 08:55:37 +08:00
parent d26972d96a
commit 3b9cae1c03
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 11 additions and 17 deletions

View file

@ -446,12 +446,12 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type
updateCellValueByInput(protyle, type, blockElement, cellElements);
avMaskElement?.remove();
}
}
};
avMaskElement.addEventListener("click", (event) => {
removeAvMask(event)
removeAvMask(event);
});
avMaskElement.addEventListener("contextmenu", (event) => {
removeAvMask(event)
removeAvMask(event);
});
};