mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-25 16:34:06 +01:00
This commit is contained in:
parent
03831ef891
commit
ea6acffb46
2 changed files with 40 additions and 7 deletions
|
|
@ -242,7 +242,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
|
|||
return true;
|
||||
} else if (target.classList.contains("item") && target.parentElement.classList.contains("layout-tab-bar")) {
|
||||
if (target.classList.contains("item--focus")) {
|
||||
openViewMenu(target)
|
||||
openViewMenu({protyle, blockElement, element:target})
|
||||
} else {
|
||||
blockElement.removeAttribute("data-render");
|
||||
avRender(blockElement, protyle, undefined, target.dataset.id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue