mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
1c6594f073
commit
11feb97194
4 changed files with 15 additions and 5 deletions
|
|
@ -663,6 +663,7 @@ export const openMenuPanel = (options: {
|
|||
id: data.viewID,
|
||||
data: false
|
||||
}]);
|
||||
options.blockElement.querySelector(".av__title").classList.add("av__title--hide");
|
||||
} else {
|
||||
transaction(options.protyle, [{
|
||||
action: "hideAttrViewName",
|
||||
|
|
@ -675,8 +676,8 @@ export const openMenuPanel = (options: {
|
|||
id: data.viewID,
|
||||
data: true
|
||||
}]);
|
||||
options.blockElement.querySelector(".av__title").classList.remove("av__title--hide");
|
||||
}
|
||||
options.blockElement.querySelector(".av__title").classList.add("fn__none");
|
||||
avPanelElement.remove();
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue