mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🚨
This commit is contained in:
parent
0db516e4b9
commit
2eb89f0673
5 changed files with 16 additions and 16 deletions
|
|
@ -246,7 +246,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I
|
|||
dialog.element.addEventListener("click", (event) => {
|
||||
let target = event.target as HTMLElement;
|
||||
if (typeof event.detail === "string") {
|
||||
target = dialog.element.querySelector('.item--full[data-type="NodeAttributeView"]')
|
||||
target = dialog.element.querySelector('.item--full[data-type="NodeAttributeView"]');
|
||||
}
|
||||
while (!target.isSameNode(dialog.element)) {
|
||||
const type = target.dataset.action;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue