mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-19 23:06:09 +01:00
♻️
This commit is contained in:
parent
01a3a14ef6
commit
77b29bde39
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ const hidePopover = (event: MouseEvent & { target: HTMLElement, path: HTMLElemen
|
|||
// 移动到弹窗的 loading 元素上,但经过 settimeout 后 loading 已经被移除了
|
||||
// https://ld246.com/article/1673596577519/comment/1673767749885#comments
|
||||
let targetElement = event.target;
|
||||
if (!targetElement.parentElement) {
|
||||
if (!targetElement.parentElement && event.path[1]) {
|
||||
targetElement = event.path[1];
|
||||
}
|
||||
const blockElement = hasClosestByClassName(targetElement, "block__popover", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue