mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 00:50:13 +01:00
🚨
This commit is contained in:
parent
f382c66fa0
commit
57d0ae7be8
4 changed files with 15 additions and 15 deletions
|
|
@ -159,7 +159,7 @@ export class Plugin {
|
|||
destroy: options.destroy,
|
||||
resize: options.resize,
|
||||
update: options.update,
|
||||
})
|
||||
});
|
||||
customObj.element.addEventListener("click", (event: MouseEvent) => {
|
||||
setPanelFocus(customObj.element);
|
||||
if (hasClosestByAttribute(event.target as HTMLElement, "data-type", "min")) {
|
||||
|
|
@ -167,7 +167,7 @@ export class Plugin {
|
|||
}
|
||||
});
|
||||
customObj.element.classList.add("sy__" + type2);
|
||||
return customObj
|
||||
return customObj;
|
||||
}
|
||||
};
|
||||
return this.docks[type2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue