mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
8660a2b214
commit
86311447d1
8 changed files with 59 additions and 30 deletions
|
|
@ -94,7 +94,7 @@ export class Wnd {
|
|||
while (target && !target.isEqualNode(this.headersElement)) {
|
||||
if (target.classList.contains("item__close") && target.getAttribute("data-type") === "new") {
|
||||
setPanelFocus(this.headersElement.parentElement.parentElement);
|
||||
newFile(undefined, undefined, true);
|
||||
newFile(undefined, undefined, undefined, true);
|
||||
break;
|
||||
} else if (target.classList.contains("item__close") && target.getAttribute("data-type") === "more") {
|
||||
this.renderTabList(event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue