mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
🎨
This commit is contained in:
parent
d26e78f9d1
commit
2d93e384be
1 changed files with 4 additions and 0 deletions
|
|
@ -1252,6 +1252,10 @@ export const openMenuPanel = (options: {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// 有错误日志,没找到重现步骤,需先判断一下
|
||||||
|
if (!target || !target.parentElement) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
target = target.parentElement;
|
target = target.parentElement;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue