mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -1504,7 +1504,7 @@ export const openMenuPanel = (options: {
|
||||
window.siyuan.menus.menu.remove();
|
||||
const useElement = target.firstElementChild;
|
||||
const isHide = useElement.getAttribute("xlink:href") !== "#iconEye";
|
||||
useElement.setAttribute("xlink:href", "#iconEyeoff");
|
||||
useElement.setAttribute("xlink:href", isHide ? "#iconEye" : "#iconEyeoff");
|
||||
transaction(options.protyle, [{
|
||||
action: "hideAttrViewGroup",
|
||||
avID: data.id,
|
||||
|
||||
Reference in New Issue
Block a user