This commit is contained in:
Vanessa 2023-09-17 22:27:55 +08:00
parent 40218fa1a0
commit 3925d5d1c4
11 changed files with 22 additions and 24 deletions

View file

@ -45,7 +45,7 @@ export const initBlockPopover = (app: App) => {
return;
}
} else if (!aElement) {
const tipElement = hasClosestByAttribute(event.target, "id", "tooltip", true)
const tipElement = hasClosestByAttribute(event.target, "id", "tooltip", true);
if (!tipElement || (
tipElement && (tipElement.clientHeight >= tipElement.scrollHeight && tipElement.clientWidth >= tipElement.scrollWidth)
)) {