mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
8832304eeb
commit
19e2bd2ab8
21 changed files with 81 additions and 66 deletions
|
|
@ -54,7 +54,7 @@ export class Inbox extends Model {
|
|||
const detailsElement = this.element.querySelector(".inbox__details");
|
||||
const selectAllElement = this.element.querySelector(".block__icons input") as HTMLInputElement;
|
||||
this.element.addEventListener("click", (event: MouseEvent) => {
|
||||
setPanelFocus(this.element.firstElementChild);
|
||||
setPanelFocus(this.element);
|
||||
let target = event.target as HTMLElement;
|
||||
while (target && !target.isEqualNode(this.element)) {
|
||||
const typeElement = hasClosestByAttribute(target, "data-type", null);
|
||||
|
|
@ -160,7 +160,7 @@ ${(Lute.New()).MarkdownStr("", data.shorthandContent)}
|
|||
}
|
||||
);
|
||||
this.update();
|
||||
setPanelFocus(this.element.firstElementChild);
|
||||
setPanelFocus(this.element);
|
||||
}
|
||||
|
||||
private updateAction() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue