mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
49dd247b8a
commit
cbbca634f5
1 changed files with 1 additions and 1 deletions
|
@ -1504,7 +1504,7 @@ export const openMenuPanel = (options: {
|
||||||
window.siyuan.menus.menu.remove();
|
window.siyuan.menus.menu.remove();
|
||||||
const useElement = target.firstElementChild;
|
const useElement = target.firstElementChild;
|
||||||
const isHide = useElement.getAttribute("xlink:href") !== "#iconEye";
|
const isHide = useElement.getAttribute("xlink:href") !== "#iconEye";
|
||||||
useElement.setAttribute("xlink:href", "#iconEyeoff");
|
useElement.setAttribute("xlink:href", isHide ? "#iconEye" : "#iconEyeoff");
|
||||||
transaction(options.protyle, [{
|
transaction(options.protyle, [{
|
||||||
action: "hideAttrViewGroup",
|
action: "hideAttrViewGroup",
|
||||||
avID: data.id,
|
avID: data.id,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue