mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
f1c20abc88
commit
c22ae35a29
1 changed files with 0 additions and 4 deletions
|
|
@ -204,10 +204,6 @@ export class Files extends Model {
|
|||
}
|
||||
});
|
||||
this.element.addEventListener("click", (event) => {
|
||||
if (event.detail !== 1) {
|
||||
setPanelFocus(this.element.parentElement);
|
||||
return;
|
||||
}
|
||||
let target = event.target as HTMLElement;
|
||||
const ulElement = hasTopClosestByTag(target, "UL");
|
||||
let needFocus = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue