mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
d3aa7d731f
commit
ee9df4ba43
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I
|
|||
});
|
||||
const inputElement = addDialog.element.querySelector("input") as HTMLInputElement;
|
||||
const btnsElement = addDialog.element.querySelectorAll(".b3-button");
|
||||
dialog.bindInput(inputElement, () => {
|
||||
addDialog.bindInput(inputElement, () => {
|
||||
(btnsElement[1] as HTMLButtonElement).click();
|
||||
});
|
||||
inputElement.focus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue