mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-20 07:16:10 +01:00
This commit is contained in:
parent
0c9f588ada
commit
22ffc30245
3 changed files with 8 additions and 3 deletions
|
|
@ -69,7 +69,7 @@ export class Setting {
|
|||
if (actionElement) {
|
||||
if (["INPUT", "TEXTAREA"].includes(actionElement.tagName)) {
|
||||
dialog.bindInput(actionElement as HTMLInputElement, () => {
|
||||
(btnsElement[1] as HTMLButtonElement).click();
|
||||
btnsElement[1].dispatchEvent(new CustomEvent("click"));
|
||||
});
|
||||
}
|
||||
if (actionElement.tagName === "TEXTAREA") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue